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

Function ParseConditionalExpression

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

Source from the content-addressed store, hash-verified

1233
1234
1235def ParseConditionalExpression(scan):
1236 left = ParseOperatorExpression(scan)
1237 if not left: return None
1238 while scan.HasMore() and (scan.Current() == 'if'):
1239 scan.Advance()
1240 right = ParseOperatorExpression(scan)
1241 if not right:
1242 return None
1243 left= Operation(left, 'if', right)
1244 return left
1245
1246
1247LOGICALS = ["&&", "||", ","]

Callers 1

ParseLogicalExpressionFunction · 0.85

Calls 5

ParseOperatorExpressionFunction · 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…