(
input: string,
parseSourceSpan: ParseSourceSpan,
absoluteOffset: number,
errors: ParseError[],
)
| 164 | } |
| 165 | |
| 166 | private _parseBindingAst( |
| 167 | input: string, |
| 168 | parseSourceSpan: ParseSourceSpan, |
| 169 | absoluteOffset: number, |
| 170 | errors: ParseError[], |
| 171 | ): AST { |
| 172 | this._checkNoInterpolation(errors, input, parseSourceSpan); |
| 173 | const {stripped: sourceToLex} = this._stripComments(input); |
| 174 | const tokens = this._lexer.tokenize(sourceToLex); |
| 175 | return new _ParseAST( |
| 176 | input, |
| 177 | parseSourceSpan, |
| 178 | absoluteOffset, |
| 179 | tokens, |
| 180 | ParseFlags.None, |
| 181 | errors, |
| 182 | 0, |
| 183 | ).parseChain(); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Parse microsyntax template expression and return a list of bindings or |
no test coverage detected