INNER CODE UNIT · Java

makeRuleNames

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

	private static String[] makeRuleNames() {
		return new String[] {
			"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8", 
			"T__9", "T__10", "T__11", "T__12", "EQ", "SCOLON", "COLON", "COMMA", 
			"LPAR", "RPAR", "LBRK", "RBRK", "NUM", "ID", "COMMENT", "WS", "ErrorChar"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	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() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…