MCPcopy Index your code
hub / github.com/angular/angular / parseBinding

Method parseBinding

packages/compiler/src/expression_parser/parser.ts:131–139  ·  view source on GitHub ↗
(
    input: string,
    parseSourceSpan: ParseSourceSpan,
    absoluteOffset: number,
  )

Source from the content-addressed store, hash-verified

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();

Callers 10

parser_spec.tsFile · 0.45
parseBindingFunction · 0.45
parseFunction · 0.45
ast_spec.tsFile · 0.45
normalizeExpressionMethod · 0.45
createSwitchBlockFunction · 0.45
parseWhenTriggerFunction · 0.45
createViewportTriggerFunction · 0.45
visitLetDeclarationMethod · 0.45

Calls 2

_parseBindingAstMethod · 0.95
getLocationFunction · 0.70

Tested by

no test coverage detected