MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / simulateExpression

Function simulateExpression

src/ast/ast_simulate.cpp:316–319  ·  view source on GitHub ↗

Free function wrapper for SimulateVisitor — usable from other translation units.

Source from the content-addressed store, hash-verified

314
315 // Free function wrapper for SimulateVisitor — usable from other translation units.
316 SimNode * simulateExpression ( Context & context, Expression * expr ) {
317 SimulateVisitor sv(context);
318 return sv.simulateExpression(expr);
319 }
320
321 SimNode * trySimulateExpression ( Context & context, const Expression * expr, uint32_t extraOffset, const TypeDeclPtr & r2vType ) {
322 SimulateVisitor sv(context);

Callers 15

evalMethod · 0.85
sv_trySimulate_AtMethod · 0.85
sv_trySimulate_FieldMethod · 0.85
visitMethod · 0.85
sv_simulateLetInitMethod · 0.85
simulateGetAtMethod · 0.85
simulateGetAtR2VMethod · 0.85
evalSingleExpressionFunction · 0.85
simulateGetAtMethod · 0.85
simulateGetIteratorMethod · 0.85

Calls 1

simulateExpressionMethod · 0.80

Tested by

no test coverage detected