コード例 #1
0
        public ScriptNodeTests()
        {
            m_ScriptNodeParser = new ScriptNodeParser();

            m_GossipVM.RegisterCustomEvent("OnCustom()");
            m_GossipVM.RegisterCustomEvent("OnCustomParameter()", typeof(CustomEventParameters));
        }
コード例 #2
0
 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();
 }