How to use the antlr4ts/misc/Utils.join 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
"\x02\x02\x02\u0594\u0597\x03\x02\x02\x02\u0595\u0596\x03\x02\x02\x02\u0595" +
		"\u0593\x03\x02\x02\x02\u0596\u0598\x03\x02\x02\x02\u0597\u0595\x03\x02" +
		"\x02\x02\u0598\u0599\x07,\x02\x02\u0599\u059A\x071\x02\x02\u059A\u059B" +
		"\x03\x02\x02\x02\u059B\u059C\b\xA8\x03\x02\u059C\u0150\x03\x02\x02\x02" +
		"\u059D\u059E\x071\x02\x02\u059E\u059F\x071\x02\x02\u059F\u05A3\x03\x02" +
		"\x02\x02\u05A0\u05A2\n\x11\x02\x02\u05A1\u05A0\x03\x02\x02\x02\u05A2\u05A5" +
		"\x03\x02\x02\x02\u05A3\u05A1\x03\x02\x02\x02\u05A3\u05A4\x03\x02\x02\x02" +
		"\u05A4\u05A6\x03\x02\x02\x02\u05A5\u05A3\x03\x02\x02\x02\u05A6\u05A7\b" +
		"\xA9\x03\x02\u05A7\u0152\x03\x02\x02\x02G\x02\u0157\u015C\u0161\u0166" +
		"\u016E\u0420\u0425\u0427\u042C\u0434\u0438\u043C\u0440\u0442\u0446\u044B" +
		"\u0450\u0455\u045C\u0460\u0465\u046C\u0470\u0475\u0482\u0486\u048A\u048E" +
		"\u0490\u049A\u04A0\u04A9\u04B2\u04BB\u04BF\u04C4\u04C9\u04E1\u04EE\u04F6" +
		"\u04FA\u04FD\u0502\u0504\u0507\u050E\u0512\u0517\u051A\u0520\u0525\u052B" +
		"\u0531\u0536\u053A\u053F\u0544\u054A\u0551\u0558\u0569\u056D\u0575\u0582" +
		"\u0588\u058B\u0595\u05A3\x04\x02\x03\x02\b\x02\x02";
	public static readonly _serializedATN: string = Utils.join(
		[
			CPP14Lexer._serializedATNSegment0,
			CPP14Lexer._serializedATNSegment1,
			CPP14Lexer._serializedATNSegment2,
		],
		"",
	);
	public static __ATN: ATN;
	public static get _ATN(): ATN {
		if (!CPP14Lexer.__ATN) {
			CPP14Lexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(CPP14Lexer._serializedATN));
		}

		return CPP14Lexer.__ATN;
	}
github yifanwu / diel / src / parser / grammar / DIELLexer.ts View on Github external
"\u03B9\xEC\x03\x02\x02\x02\u03BA\u03BB\t\x11\x02\x02\u03BB\xEE\x03\x02"+
		"\x02\x02\u03BC\u03BD\t\x12\x02\x02\u03BD\xF0\x03\x02\x02\x02\u03BE\u03BF"+
		"\t\x13\x02\x02\u03BF\xF2\x03\x02\x02\x02\u03C0\u03C1\t\x14\x02\x02\u03C1"+
		"\xF4\x03\x02\x02\x02\u03C2\u03C3\t\x15\x02\x02\u03C3\xF6\x03\x02\x02\x02"+
		"\u03C4\u03C5\t\x16\x02\x02\u03C5\xF8\x03\x02\x02\x02\u03C6\u03C7\t\x17"+
		"\x02\x02\u03C7\xFA\x03\x02\x02\x02\u03C8\u03C9\t\x18\x02\x02\u03C9\xFC"+
		"\x03\x02\x02\x02\u03CA\u03CB\t\x19\x02\x02\u03CB\xFE\x03\x02\x02\x02\u03CC"+
		"\u03CD\t\x1A\x02\x02\u03CD\u0100\x03\x02\x02\x02\u03CE\u03CF\t\x1B\x02"+
		"\x02\u03CF\u0102\x03\x02\x02\x02\u03D0\u03D1\t\x1C\x02\x02\u03D1\u0104"+
		"\x03\x02\x02\x02\u03D2\u03D3\t\x1D\x02\x02\u03D3\u0106\x03\x02\x02\x02"+
		"\u03D4\u03D5\t\x1E\x02\x02\u03D5\u0108\x03\x02\x02\x02\u03D6\u03D7\t\x1F"+
		"\x02\x02\u03D7\u010A\x03\x02\x02\x02\u03D8\u03D9\t \x02\x02\u03D9\u010C"+
		"\x03\x02\x02\x02\x16\x02\u012A\u033B\u0349\u0360\u0368\u036C\u036F\u0374"+
		"\u0379\u037F\u0382\u0388\u038A\u0392\u0394\u039A\u039C\u039F\u03A2\x03"+
		"\x02\x03\x02";
	public static readonly _serializedATN: string = Utils.join(
		[
			DIELLexer._serializedATNSegment0,
			DIELLexer._serializedATNSegment1
		],
		""
	);
	public static __ATN: ATN;
	public static get _ATN(): ATN {
		if (!DIELLexer.__ATN) {
			DIELLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(DIELLexer._serializedATN));
		}

		return DIELLexer.__ATN;
	}

}
github zenclabs / codetree / src / parsers / examples / java8 / Java8Lexer.ts View on Github external
"\x07,\x02\x02\u0425\u0429\x03\x02\x02\x02\u0426\u0428\v\x02\x02\x02\u0427"+
		"\u0426\x03\x02\x02\x02\u0428\u042B\x03\x02\x02\x02\u0429\u042A\x03\x02"+
		"\x02\x02\u0429\u0427\x03\x02\x02\x02\u042A\u042C\x03\x02\x02\x02\u042B"+
		"\u0429\x03\x02\x02\x02\u042C\u042D\x07,\x02\x02\u042D\u042E\x071\x02\x02"+
		"\u042E\u042F\x03\x02\x02\x02\u042F\u0430\b\x99\x02\x02\u0430\u0132\x03"+
		"\x02\x02\x02\u0431\u0432\x071\x02\x02\u0432\u0433\x071\x02\x02\u0433\u0437"+
		"\x03\x02\x02\x02\u0434\u0436\n\x14\x02\x02\u0435\u0434\x03\x02\x02\x02"+
		"\u0436\u0439\x03\x02\x02\x02\u0437\u0435\x03\x02\x02\x02\u0437\u0438\x03"+
		"\x02\x02\x02\u0438\u043A\x03\x02\x02\x02\u0439\u0437\x03\x02\x02\x02\u043A"+
		"\u043B\b\x9A\x02\x02\u043B\u0134\x03\x02\x02\x026\x02\u028C\u0290\u0294"+
		"\u0298\u029C\u02A3\u02A8\u02AA\u02AE\u02B1\u02B5\u02BC\u02C0\u02C5\u02CD"+
		"\u02D0\u02D7\u02DB\u02DF\u02E5\u02E8\u02EF\u02F3\u02FB\u02FE\u0305\u0309"+
		"\u030D\u0312\u0315\u0318\u031D\u0320\u0325\u032A\u0332\u033D\u0341\u0346"+
		"\u034A\u035A\u0364\u036A\u0371\u0375\u037B\u0388\u040F\u041F\u0429\u0437"+
		"\x03\b\x02\x02";
	public static readonly _serializedATN: string = Utils.join(
		[
			Java8Lexer._serializedATNSegment0,
			Java8Lexer._serializedATNSegment1
		],
		""
	);
	public static __ATN: ATN;
	public static get _ATN(): ATN {
		if (!Java8Lexer.__ATN) {
			Java8Lexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(Java8Lexer._serializedATN));
		}

		return Java8Lexer.__ATN;
	}

}