MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / compile

Method compile

OgreMain/src/OgreScriptCompiler.cpp:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 ScriptCompiler::ScriptCompiler() : mListener( 0 ) { initWordMap(); }
253
254 bool ScriptCompiler::compile( const String &str, const String &source, const String &group )
255 {
256 ScriptLexer lexer;
257 ScriptParser parser;
258 ConcreteNodeListPtr nodes = parser.parse( lexer.tokenize( str ), source );
259 return compile( nodes, group );
260 }
261
262 // static void logAST(int tabs, const AbstractNodePtr &node)
263 // {

Callers 1

parseScriptMethod · 0.45

Calls 11

tokenizeMethod · 0.80
preConversionMethod · 0.80
postConversionMethod · 0.80
parseMethod · 0.45
clearMethod · 0.45
getMethod · 0.45
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
getTranslatorMethod · 0.45
translateMethod · 0.45

Tested by

no test coverage detected