JavaScript operations.
- Copyright:
-
- Crown Copyright 2016
- License:
-
- Apache-2.0
- Source:
Members
-
<static, constant> PARSE_LOC
-
- Source:
-
<static, constant> PARSE_RANGE
-
- Source:
-
<static, constant> PARSE_TOKENS
-
- Source:
-
<static, constant> PARSE_COMMENT
-
- Source:
-
<static, constant> PARSE_TOLERANT
-
- Source:
-
<static, constant> BEAUTIFY_INDENT
-
- Default Value:
-
- \t
- Source:
-
<static, constant> BEAUTIFY_QUOTES
-
- Default Value:
-
- ["Auto","Single","Double"]
- Source:
-
<static, constant> BEAUTIFY_SEMICOLONS
-
- Default Value:
-
- true
- Source:
-
<static, constant> BEAUTIFY_COMMENT
-
- Default Value:
-
- true
- Source:
Methods
-
<static> run_parse(input, args)
-
JavaScript Parser operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_beautify(input, args)
-
JavaScript Beautify operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string
-
<static> run_minify(input, args)
-
JavaScript Minify operation.
Parameters:
Name Type Description input
string args
Array.<Object> - Source:
Returns:
- Type
- string