MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getFuncVars

Function getFuncVars

Engine/source/console/astNodes.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61FuncVars* gFuncVars = NULL;
62
63inline FuncVars* getFuncVars(S32 lineNumber)
64{
65 if (gFuncVars == &gGlobalScopeFuncVars)
66 {
67 const char* str = avar("Attemping to use local variable in global scope. File: %s Line: %d", CodeBlock::smCurrentParser->getCurrentFile(), lineNumber);
68 scriptErrorHandler(str);
69 }
70 return gFuncVars;
71}
72
73//-----------------------------------------------------------------------------
74

Callers 3

compileStmtMethod · 0.85
compileMethod · 0.85
getPreferredTypeMethod · 0.85

Calls 2

avarFunction · 0.85
scriptErrorHandlerFunction · 0.85

Tested by

no test coverage detected