INNER CODE UNIT · Java

makeLiteralNames

nivanov/cosplay · modules/cosplay/src/main/scala/org/cosplay/impl/layout/antlr4/CPLayoutLexer.java:41

	private static String[] makeLiteralNames() {
		return new String[] {
			null, "'off'", "'x'", "'same'", "'before'", "'left'", "'center'", "'right'", 
			"'after'", "'y'", "'above'", "'top'", "'bottom'", "'below'", "'='", "';'", 
			"':'", "','", "'('", "')'", "'['", "']'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, null, null, null, null, null, null, null, null, null, null, null, 
			null, null, "EQ", "SCOLON", "COLON", "COMMA", "LPAR", "RPAR", "LBRK", 
			"RBRK", "NUM", "ID", "COMMENT", "WS", "ErrorChar"
		};
	}
	private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
	public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…