Gorgon Game Engine
AST.cpp File Reference
Include dependency graph for AST.cpp:

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Scripting
 This namespace contains Gorgon Script parser and reflection facilities.
 
 Gorgon::Scripting::Compilers
 This namespace contains compliers and any utilities related with it.
 

Functions

void ASTToSVG (const std::string &line, ASTNode &tree, const std::vector< std::string > &compiled={}, bool show=false)
 Converts given AST to an SVG file. More...
 
Value compilevalue (ASTNode &tree, std::vector< Instruction > *list, Byte &tempind, bool generateoutput=true)
 
std::string dottree (ASTNode &tree, int &ind)
 
void PrintAST (ASTNode &tree)
 Recursively prints an AST. More...
 

Variables

MappedReferenceType< std::vector< Instruction >, &ToEmptyString > instructionlisttype ("#instructionlist", "")