MCPcopy Create free account
hub / github.com/cseagle/blc / collapse

Method collapse

op.cc:450–472  ·  view source on GitHub ↗

Assuming all the inputs to this op are constants, compute the constant result of evaluating this op on this inputs. If one if the inputs has attached symbol information, pass-back "the fact of" as we may want to propagate the info to the new constant. Throw an exception if a constant result cannot be produced. \param markedInput will pass-back whether or not one of the inputs is a marked constant

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

applyOpMethod · 0.80

Calls 6

LowlevelErrorClass · 0.85
getSymbolEntryMethod · 0.45
evaluateUnaryMethod · 0.45
getSizeMethod · 0.45
getOffsetMethod · 0.45
evaluateBinaryMethod · 0.45

Tested by

no test coverage detected