@istock/command-parser / Exports / Ast
Class: Ast
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new Ast(): Ast
Returns
Defined in
ast.ts:65
Properties
#tokenizer
• Private
Readonly
#tokenizer: Tokenizer
Defined in
ast.ts:56
Accessors
symbol
• get
symbol(): Object
Returns
Object
Name | Type |
---|---|
options | string [] |
parenthesesLeft | string [] |
parenthesesRight | string [] |
pipe2And | string [] |
pipe2Or | string [] |
pipeAnd | string [] |
pipeOr | string [] |
Defined in
ast.ts:57
tokenizer
• get
tokenizer(): Tokenizer
Returns
Defined in
ast.ts:61
Methods
parse
▸ parse(input
): TAstTreeRoot
Parameters
Name | Type |
---|---|
input | string |
Returns
Defined in
ast.ts:69