MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / getVariable

Method getVariable

Externals/MathMLSolver/src/MathMLSymbolTable.cpp:27–37  ·  view source on GitHub ↗

---------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

25
26 //---------------------------------------------------------------------------------
27 AST::INode* SymbolTable::getVariable( const String& name ) const
28 {
29 SymbolTable::VariableMap::const_iterator it = findVariable(name);
30 if ( it != mVariables.end() )
31 {
32 return it->second;
33 }
34
35 //variable not found
36 return 0;
37 }
38
39 //---------------------------------------------------------------------------------
40 AST::INode* SymbolTable::removeVariable( const String& name )

Callers 1

visitMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected