public ScriptNodeTests() { m_ScriptNodeParser = new ScriptNodeParser(); m_GossipVM.RegisterCustomEvent("OnCustom()"); m_GossipVM.RegisterCustomEvent("OnCustomParameter()", typeof(CustomEventParameters)); }
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(); }