(
input: string,
parseSourceSpan: ParseSourceSpan,
absoluteOffset: number,
)
| 129 | } |
| 130 | |
| 131 | parseBinding( |
| 132 | input: string, |
| 133 | parseSourceSpan: ParseSourceSpan, |
| 134 | absoluteOffset: number, |
| 135 | ): ASTWithSource { |
| 136 | const errors: ParseError[] = []; |
| 137 | const ast = this._parseBindingAst(input, parseSourceSpan, absoluteOffset, errors); |
| 138 | return new ASTWithSource(ast, input, getLocation(parseSourceSpan), absoluteOffset, errors); |
| 139 | } |
| 140 | |
| 141 | private checkSimpleExpression(ast: AST): string[] { |
| 142 | const checker = new SimpleExpressionChecker(); |
no test coverage detected