MCPcopy
hub / github.com/Nuitka/Nuitka / isCompileTimeConstant

Method isCompileTimeConstant

nuitka/nodes/ExpressionBases.py:53–60  ·  view source on GitHub ↗

Has a value that we can use at compile time. Yes or no. If it has such a value, simulations can be applied at compile time and e.g. operations or conditions, or even calls may be executed against it.

()

Source from the content-addressed store, hash-verified

51
52 @staticmethod
53 def isCompileTimeConstant():
54 """Has a value that we can use at compile time.
55
56 Yes or no. If it has such a value, simulations can be applied at
57 compile time and e.g. operations or conditions, or even calls may
58 be executed against it.
59 """
60 return False
61
62 @staticmethod
63 def getTruthValue():

Callers 15

extractSideEffectsMethod · 0.45
mayHaveSideEffectsMethod · 0.45
extractSideEffectsMethod · 0.45
mayHaveSideEffectsMethod · 0.45
computeExpressionMethod · 0.45
computeExpressionMethod · 0.45
computeExpressionBoolMethod · 0.45
computeExpressionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected