MCPcopy Create free account
hub / github.com/facebook/chisel / evaluateBooleanExpression

Function evaluateBooleanExpression

fbchisellldbbase.py:143–146  ·  view source on GitHub ↗
(expression, printErrors=True)

Source from the content-addressed store, hash-verified

141
142
143def evaluateBooleanExpression(expression, printErrors=True):
144 return (
145 int(evaluateIntegerExpression("(BOOL)(" + expression + ")", printErrors)) != 0
146 )
147
148
149def evaluateExpression(expression, printErrors=True):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected