com.cognifide.apm.antlr.ApmLangLexer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apm-bundle Show documentation
Show all versions of apm-bundle Show documentation
AEM Permission Management is an AEM based tool focused on streamlining the permission configuration
// Generated from ApmLang.g4 by ANTLR 4.7.2
package com.cognifide.apm.antlr;
import org.antlr.v4.runtime.Lexer;
import org.antlr.v4.runtime.CharStream;
import org.antlr.v4.runtime.Token;
import org.antlr.v4.runtime.TokenStream;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.misc.*;
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class ApmLangLexer extends Lexer {
static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
T__0=1, T__1=2, T__2=3, T__3=4, ARRAY_BEGIN=5, ARRAY_END=6, BLOCK_BEGIN=7,
BLOCK_END=8, IMPORT_SCRIPT=9, RUN_SCRIPT=10, FOR_EACH=11, IN=12, DEFINE=13,
NUMBER_LITERAL=14, STRING_LITERAL=15, VARIABLE_PREFIX=16, IDENTIFIER=17,
FLAG=18, COMMENT=19, WHITESPACE=20, EOL=21;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
public static String[] modeNames = {
"DEFAULT_MODE"
};
private static String[] makeRuleNames() {
return new String[] {
"T__0", "T__1", "T__2", "T__3", "ARRAY_BEGIN", "ARRAY_END", "BLOCK_BEGIN",
"BLOCK_END", "IMPORT_SCRIPT", "RUN_SCRIPT", "FOR_EACH", "IN", "DEFINE",
"NUMBER_LITERAL", "STRING_LITERAL", "VARIABLE_PREFIX", "IDENTIFIER",
"FLAG", "COMMENT", "Digits", "LetterOrDigitOrDash", "LetterOrDigit",
"Letter", "WHITESPACE", "EOL"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "','", "'+'", "'='", "'--'", "'['", "']'", null, null, null, null,
null, null, null, null, null, "'$'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, null, null, null, null, "ARRAY_BEGIN", "ARRAY_END", "BLOCK_BEGIN",
"BLOCK_END", "IMPORT_SCRIPT", "RUN_SCRIPT", "FOR_EACH", "IN", "DEFINE",
"NUMBER_LITERAL", "STRING_LITERAL", "VARIABLE_PREFIX", "IDENTIFIER",
"FLAG", "COMMENT", "WHITESPACE", "EOL"
};
}
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
/**
* @deprecated Use {@link #VOCABULARY} instead.
*/
@Deprecated
public static final String[] tokenNames;
static {
tokenNames = new String[_SYMBOLIC_NAMES.length];
for (int i = 0; i < tokenNames.length; i++) {
tokenNames[i] = VOCABULARY.getLiteralName(i);
if (tokenNames[i] == null) {
tokenNames[i] = VOCABULARY.getSymbolicName(i);
}
if (tokenNames[i] == null) {
tokenNames[i] = "";
}
}
}
@Override
@Deprecated
public String[] getTokenNames() {
return tokenNames;
}
@Override
public Vocabulary getVocabulary() {
return VOCABULARY;
}
public ApmLangLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "ApmLang.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public String[] getChannelNames() { return channelNames; }
@Override
public String[] getModeNames() { return modeNames; }
@Override
public ATN getATN() { return _ATN; }
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\27\u00e1\b\1\4\2"+
"\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4"+
"\13\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22"+
"\t\22\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31"+
"\t\31\4\32\t\32\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\5\3\6\3\6\3\7\3\7\3"+
"\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\5\bM\n\b\3\t\3\t\3\t\3\t\3\t\3"+
"\t\5\tU\n\t\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\3\n\5\nc\n\n\3"+
"\13\3\13\3\13\3\13\3\13\3\13\5\13k\n\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3"+
"\f\3\f\3\f\3\f\3\f\3\f\3\f\5\f{\n\f\3\r\3\r\3\r\3\r\5\r\u0081\n\r\3\16"+
"\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\3\16\5\16\u008f\n\16"+
"\3\17\6\17\u0092\n\17\r\17\16\17\u0093\3\20\3\20\7\20\u0098\n\20\f\20"+
"\16\20\u009b\13\20\3\20\3\20\3\20\7\20\u00a0\n\20\f\20\16\20\u00a3\13"+
"\20\3\20\5\20\u00a6\n\20\3\21\3\21\3\22\3\22\7\22\u00ac\n\22\f\22\16\22"+
"\u00af\13\22\3\23\3\23\7\23\u00b3\n\23\f\23\16\23\u00b6\13\23\3\24\3\24"+
"\7\24\u00ba\n\24\f\24\16\24\u00bd\13\24\3\24\3\24\3\25\3\25\7\25\u00c3"+
"\n\25\f\25\16\25\u00c6\13\25\3\25\5\25\u00c9\n\25\3\26\3\26\5\26\u00cd"+
"\n\26\3\27\3\27\5\27\u00d1\n\27\3\30\3\30\3\30\3\30\5\30\u00d7\n\30\3"+
"\31\3\31\3\31\3\31\3\32\3\32\3\32\5\32\u00e0\n\32\2\2\33\3\3\5\4\7\5\t"+
"\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23"+
"%\24\'\25)\2+\2-\2/\2\61\26\63\27\3\2\16\3\2\62;\6\2\f\f\17\17$$^^\6\2"+
"\f\f\17\17))^^\5\2\f\f\17\17^^\4\2\62;aa\4\2//\62;\5\2C\\aac|\4\2\2\u0081"+
"\ud802\udc01\3\2\ud802\udc01\3\2\udc02\ue001\4\2\13\13\"\"\4\2\f\f\17"+
"\17\2\u00f1\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2"+
"\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27"+
"\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2"+
"\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\3\65\3"+
"\2\2\2\5\67\3\2\2\2\79\3\2\2\2\t;\3\2\2\2\13>\3\2\2\2\r@\3\2\2\2\17L\3"+
"\2\2\2\21T\3\2\2\2\23b\3\2\2\2\25j\3\2\2\2\27z\3\2\2\2\31\u0080\3\2\2"+
"\2\33\u008e\3\2\2\2\35\u0091\3\2\2\2\37\u00a5\3\2\2\2!\u00a7\3\2\2\2#"+
"\u00a9\3\2\2\2%\u00b0\3\2\2\2\'\u00b7\3\2\2\2)\u00c0\3\2\2\2+\u00cc\3"+
"\2\2\2-\u00d0\3\2\2\2/\u00d6\3\2\2\2\61\u00d8\3\2\2\2\63\u00df\3\2\2\2"+
"\65\66\7.\2\2\66\4\3\2\2\2\678\7-\2\28\6\3\2\2\29:\7?\2\2:\b\3\2\2\2;"+
"<\7/\2\2<=\7/\2\2=\n\3\2\2\2>?\7]\2\2?\f\3\2\2\2@A\7_\2\2A\16\3\2\2\2"+
"BC\7d\2\2CD\7g\2\2DE\7i\2\2EF\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2\u0095\u0099\7$\2\2\u0096"+
"\u0098\n\3\2\2\u0097\u0096\3\2\2\2\u0098\u009b\3\2\2\2\u0099\u0097\3\2"+
"\2\2\u0099\u009a\3\2\2\2\u009a\u009c\3\2\2\2\u009b\u0099\3\2\2\2\u009c"+
"\u00a6\7$\2\2\u009d\u00a1\7)\2\2\u009e\u00a0\n\4\2\2\u009f\u009e\3\2\2"+
"\2\u00a0\u00a3\3\2\2\2\u00a1\u009f\3\2\2\2\u00a1\u00a2\3\2\2\2\u00a2\u00a4"+
"\3\2\2\2\u00a3\u00a1\3\2\2\2\u00a4\u00a6\7)\2\2\u00a5\u0095\3\2\2\2\u00a5"+
"\u009d\3\2\2\2\u00a6 \3\2\2\2\u00a7\u00a8\7&\2\2\u00a8\"\3\2\2\2\u00a9"+
"\u00ad\5/\30\2\u00aa\u00ac\5-\27\2\u00ab\u00aa\3\2\2\2\u00ac\u00af\3\2"+
"\2\2\u00ad\u00ab\3\2\2\2\u00ad\u00ae\3\2\2\2\u00ae$\3\2\2\2\u00af\u00ad"+
"\3\2\2\2\u00b0\u00b4\5/\30\2\u00b1\u00b3\5+\26\2\u00b2\u00b1\3\2\2\2\u00b3"+
"\u00b6\3\2\2\2\u00b4\u00b2\3\2\2\2\u00b4\u00b5\3\2\2\2\u00b5&\3\2\2\2"+
"\u00b6\u00b4\3\2\2\2\u00b7\u00bb\7%\2\2\u00b8\u00ba\n\5\2\2\u00b9\u00b8"+
"\3\2\2\2\u00ba\u00bd\3\2\2\2\u00bb\u00b9\3\2\2\2\u00bb\u00bc\3\2\2\2\u00bc"+
"\u00be\3\2\2\2\u00bd\u00bb\3\2\2\2\u00be\u00bf\b\24\2\2\u00bf(\3\2\2\2"+
"\u00c0\u00c8\t\2\2\2\u00c1\u00c3\t\6\2\2\u00c2\u00c1\3\2\2\2\u00c3\u00c6"+
"\3\2\2\2\u00c4\u00c2\3\2\2\2\u00c4\u00c5\3\2\2\2\u00c5\u00c7\3\2\2\2\u00c6"+
"\u00c4\3\2\2\2\u00c7\u00c9\t\2\2\2\u00c8\u00c4\3\2\2\2\u00c8\u00c9\3\2"+
"\2\2\u00c9*\3\2\2\2\u00ca\u00cd\5/\30\2\u00cb\u00cd\t\7\2\2\u00cc\u00ca"+
"\3\2\2\2\u00cc\u00cb\3\2\2\2\u00cd,\3\2\2\2\u00ce\u00d1\5/\30\2\u00cf"+
"\u00d1\t\2\2\2\u00d0\u00ce\3\2\2\2\u00d0\u00cf\3\2\2\2\u00d1.\3\2\2\2"+
"\u00d2\u00d7\t\b\2\2\u00d3\u00d7\n\t\2\2\u00d4\u00d5\t\n\2\2\u00d5\u00d7"+
"\t\13\2\2\u00d6\u00d2\3\2\2\2\u00d6\u00d3\3\2\2\2\u00d6\u00d4\3\2\2\2"+
"\u00d7\60\3\2\2\2\u00d8\u00d9\t\f\2\2\u00d9\u00da\3\2\2\2\u00da\u00db"+
"\b\31\2\2\u00db\62\3\2\2\2\u00dc\u00dd\7\17\2\2\u00dd\u00e0\7\f\2\2\u00de"+
"\u00e0\t\r\2\2\u00df\u00dc\3\2\2\2\u00df\u00de\3\2\2\2\u00e0\64\3\2\2"+
"\2\27\2LTbjz\u0080\u008e\u0093\u0099\u00a1\u00a5\u00ad\u00b4\u00bb\u00c4"+
"\u00c8\u00cc\u00d0\u00d6\u00df\3\b\2\2";
public static final ATN _ATN =
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
}
}
}