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

Function getFakeSpan

packages/compiler/test/expression_parser/utils/span.ts:12–16  ·  view source on GitHub ↗
(fileName = 'test.html')

Source from the content-addressed store, hash-verified

10
11/** Gets a fake `ParseSourceSpan` for testing purposes. */
12export function getFakeSpan(fileName = 'test.html') {
13 const file = new ParseSourceFile('', fileName);
14 const location = new ParseLocation(file, 0, 0, 0);
15 return new ParseSourceSpan(location, location);
16}

Callers 10

parser_spec.tsFile · 0.90
parseActionFunction · 0.90
parseBindingFunction · 0.90
_parseTemplateBindingsFunction · 0.90
parseInterpolationFunction · 0.90
splitInterpolationFunction · 0.90
parseSimpleBindingFunction · 0.90
parseFunction · 0.90
parseActionFunction · 0.90
ast_spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…