How to use the antlr4ts/misc/Utils.toCharArray function in antlr4ts

To help you get started, we’ve selected a few antlr4ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mike-lischke / antlr4-c3 / test / CPP14Lexer.ts View on Github external
public static get _ATN(): ATN {
		if (!CPP14Lexer.__ATN) {
			CPP14Lexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(CPP14Lexer._serializedATN));
		}

		return CPP14Lexer.__ATN;
	}
github tsouza / yajs / src / main / lib / path / parser / YAJSLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!YAJSLexer.__ATN) {
			YAJSLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(YAJSLexer._serializedATN));
		}

		return YAJSLexer.__ATN;
	}
github mr-doc / mr-doc / src / tom / TomLexer.js View on Github external
static get _ATN() {
        if (!TomLexer.__ATN) {
            TomLexer.__ATN = new ATNDeserializer_1.ATNDeserializer().deserialize(Utils.toCharArray(TomLexer._serializedATN));
        }
        return TomLexer.__ATN;
    }
}
github microsoft / botbuilder-js / libraries / botbuilder-lg / src / generated / LGFileLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!LGFileLexer.__ATN) {
			LGFileLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(LGFileLexer._serializedATN));
		}

		return LGFileLexer.__ATN;
	}
github mr-doc / mr-doc / src / tom / TomLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!TomLexer.__ATN) {
			TomLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(TomLexer._serializedATN));
		}

		return TomLexer.__ATN;
	}
github microsoft / botbuilder-js / libraries / botbuilder-expression-parser / src / generated / ExpressionLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!ExpressionLexer.__ATN) {
			ExpressionLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(ExpressionLexer._serializedATN));
		}

		return ExpressionLexer.__ATN;
	}
github microsoft / botbuilder-js / libraries / botbuilder-ai / src / lg / LGFileLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!LGFileLexer.__ATN) {
			LGFileLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(LGFileLexer._serializedATN));
		}

		return LGFileLexer.__ATN;
	}
github microsoft / vscode-cosmosdb / src / mongo / grammar / mongoLexer.ts View on Github external
public static get _ATN(): ATN {
		if (!mongoLexer.__ATN) {
			mongoLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(mongoLexer._serializedATN));
		}

		return mongoLexer.__ATN;
	}
github zenclabs / codetree / src / parsers / examples / java8 / Java8Lexer.ts View on Github external
public static get _ATN(): ATN {
		if (!Java8Lexer.__ATN) {
			Java8Lexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(Java8Lexer._serializedATN));
		}

		return Java8Lexer.__ATN;
	}
github mr-doc / mr-doc / src / tom / grammar / TomLexer.js View on Github external
static get _ATN() {
        if (!TomLexer.__ATN) {
            TomLexer.__ATN = new ATNDeserializer_1.ATNDeserializer().deserialize(Utils.toCharArray(TomLexer._serializedATN));
        }
        return TomLexer.__ATN;
    }
}