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

Method parseLogicalOr

packages/compiler/src/expression_parser/parser.ts:912–921  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

910 }
911
912 private parseLogicalOr(): AST {
913 // '||'
914 const start = this.inputIndex;
915 let result = this.parseLogicalAnd();
916 while (this.consumeOptionalOperator('||')) {
917 const right = this.parseLogicalAnd();
918 result = new Binary(this.span(start), this.sourceSpan(start), '||', result, right);
919 }
920 return result;
921 }
922
923 private parseLogicalAnd(): AST {
924 // '&&'

Callers 1

parseConditionalMethod · 0.95

Calls 4

parseLogicalAndMethod · 0.95
spanMethod · 0.95
sourceSpanMethod · 0.95

Tested by

no test coverage detected