public Parser(params object[] languageParserArguments) { _languageParser = LanguageParserService.GetService().GetLanguageParser <T>(languageParserArguments); _languageParser.FixPatterns(); _lexer = new Lexer.Lexer(_languageParser.TokenDefinitions.Values.ToList()); }
internal static LanguageParserService GetService() { return(_languageParserService ?? (_languageParserService = new LanguageParserService())); }