MCPcopy Index your code
hub / github.com/nodejs/node / ParseOperatorExpression

Function ParseOperatorExpression

tools/test.py:1222–1232  ·  view source on GitHub ↗
(scan)

Source from the content-addressed store, hash-verified

1220
1221BINARIES = ['==', '!=']
1222def ParseOperatorExpression(scan):
1223 left = ParseAtomicExpression(scan)
1224 if not left: return None
1225 while scan.HasMore() and (scan.Current() in BINARIES):
1226 op = scan.Current()
1227 scan.Advance()
1228 right = ParseOperatorExpression(scan)
1229 if not right:
1230 return None
1231 left = Operation(left, op, right)
1232 return left
1233
1234
1235def ParseConditionalExpression(scan):

Callers 1

Calls 5

ParseAtomicExpressionFunction · 0.85
OperationClass · 0.70
HasMoreMethod · 0.45
CurrentMethod · 0.45
AdvanceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…