Properties
astFormat
astFormat: string
Optional hasPragma
hasPragma: undefined | ((text: string) => boolean)
locEnd
locEnd: (node: any) => number
Type declaration
-
-
Parameters
Returns number
locStart
locStart: (node: any) => number
Type declaration
-
-
Parameters
Returns number
parse
parse
: (text
: string, parsers
: {}, options
: ParserOptions) => AST
Type declaration
-
- (text: string, parsers: {}, options: ParserOptions): AST
-
Parameters
-
text: string
-
parsers: {}
-
options: ParserOptions
Returns AST
Optional preprocess
preprocess: undefined | ((text: string, options: ParserOptions) => string)