Exemple #1
0
 public HostBridge(GossipLexer gossipLexer)
 {
     m_HostCallTable = new HostCallTable();
     m_TypeBindingTable = new TypeBindingTable(gossipLexer);
     m_EnumDefineTable = new EnumDefineTable();
     m_ExpressionEvaluator = new ExpressionEvaluator(m_HostCallTable);
     m_EventBindingTable = new EventBindingTable();
 }
 public GossipCompiler(GossipVM engine,
                       GossipLexer lexer,
                       ScriptNodeParser scriptNodeParser)
 {
     m_HostCallTable = engine.HostBridge.HostCallTable;
     m_Precompiler = new Precompiler();
     m_Engine = engine;
     m_Lexer = lexer;
     m_ScriptNodeParser = scriptNodeParser;
     m_ExpressionParser = new ExpressionParser();
     m_StateMachineParser = new StateMachineParser();
 }
 public CompilationContext(HostCallTable hostCallTable,
                           StringTable stringTable,
                           EnumDefineTable enumTable,
                           TypeBindingTable typeBindingTable,
                           EventBindingTable eventBindingTable)
 {
     m_HostCallTable = hostCallTable;
     m_StringTable = stringTable;
     m_EnumTable = enumTable;
     m_TypeBindingTable = typeBindingTable;
     m_EventBindingTable = eventBindingTable;
 }