internal RantPattern(string name, RantPatternOrigin type, string code) { Name = name; Type = type; Code = code; var compiler = new RantCompiler(name, code); Action = compiler.Read(); Module = compiler.HasModule ? compiler.Module : null; }
internal RantPattern(string name, RantPatternOrigin type, string code) { Name = name; Type = type; Code = code; var compiler = new RantCompiler(name, code); Action = compiler.Compile(); Module = compiler.HasModule ? compiler.Module : null; }