Parse Class
Namespace: Stimulsoft.System.Data
Constructors
| Constructor | Description |
|---|---|
| constructor(string text) |
constructor(text: string)
Parameters
- text (string)
Methods
| Method | Returns | Description |
|---|---|---|
| getTokenPrecedence | number | |
| parseArgs | ExprAST[] | |
| parseBinOpRHS | ExprAST | |
| parseExpression | ExprAST | |
| parseIdentifierExpr | ExprAST | |
| parseParenExpr | ExprAST | |
| parsePrimary | ExprAST |
Method Details
getTokenPrecedence
getTokenPrecedence(): number
Returns number
parseArgs
parseArgs(): ExprAST[]
Returns ExprAST[]
parseBinOpRHS
parseBinOpRHS(exprPrecedence: number, lhs: ExprAST): ExprAST
Parameters
- exprPrecedence (number)
- lhs (ExprAST)
Returns ExprAST
parseExpression
parseExpression(): ExprAST
Returns ExprAST
parseIdentifierExpr
parseIdentifierExpr(): ExprAST
Returns ExprAST
parseParenExpr
parseParenExpr(): ExprAST
Returns ExprAST
parsePrimary
parsePrimary(): ExprAST
Returns ExprAST
Fields
| Field | Type | Description |
|---|---|---|
| args | any | |
| lhs | any | |
| rhs | any | |
| rhs | any | |
| rhs | any |