public LogicScript(string code) { var parser = new LogicParser(); parser.Parse(code); this.Structures = parser.Structures; this.Functions = parser.Functions; }