示例#1
0
 public LogicScript(string code)
 {
     var parser = new LogicParser();
     parser.Parse(code);
     this.Structures = parser.Structures;
     this.Functions = parser.Functions;
 }
示例#2
0
        public LogicScript(string code)
        {
            var parser = new LogicParser();

            parser.Parse(code);
            this.Structures = parser.Structures;
            this.Functions  = parser.Functions;
        }