
org.graphwalker.dsl.yed.YEdLabelLexer Maven / Gradle / Ivy
The newest version!
// Generated from org/graphwalker/dsl/yed/YEdLabelLexer.g4 by ANTLR 4.13.1
package org.graphwalker.dsl.yed;
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", "CheckReturnValue", "this-escape"})
public class YEdLabelLexer extends Lexer {
static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
DOT=1, SLASH=2, COLON=3, SEMICOLON=4, COMMA=5, ASSIGN=6, BLOCKED=7, SHARED=8,
INIT=9, START=10, REQTAG=11, WEIGHT=12, DEPENDENCY=13, NestedBrackets=14,
Identifier=15, String=16, Value=17, COMMENT=18, LINE_COMMENT=19, WHITESPACE=20,
ANY=21;
public static String[] channelNames = {
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
};
public static String[] modeNames = {
"DEFAULT_MODE"
};
private static String[] makeRuleNames() {
return new String[] {
"DOT", "SLASH", "COLON", "SEMICOLON", "COMMA", "ASSIGN", "BLOCKED", "SHARED",
"INIT", "START", "REQTAG", "WEIGHT", "DEPENDENCY", "NestedBrackets",
"Identifier", "String", "Value", "Integer", "Digit", "NonZeroDigit",
"Letter", "LetterOrDigit", "COMMENT", "LINE_COMMENT", "WHITESPACE", "ANY"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, "'.'", "'/'", "':'", "';'", "','", "'='", "'BLOCKED'", "'SHARED'",
"'INIT'", null, "'REQTAG'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "DOT", "SLASH", "COLON", "SEMICOLON", "COMMA", "ASSIGN", "BLOCKED",
"SHARED", "INIT", "START", "REQTAG", "WEIGHT", "DEPENDENCY", "NestedBrackets",
"Identifier", "String", "Value", "COMMENT", "LINE_COMMENT", "WHITESPACE",
"ANY"
};
}
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 YEdLabelLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "YEdLabelLexer.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; }
@Override
public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
switch (ruleIndex) {
case 20:
return Letter_sempred((RuleContext)_localctx, predIndex);
case 21:
return LetterOrDigit_sempred((RuleContext)_localctx, predIndex);
}
return true;
}
private boolean Letter_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return Character.isJavaIdentifierStart(_input.LA(-1));
case 1:
return Character.isJavaIdentifierStart(Character.toCodePoint((char)_input.LA(-2), (char)_input.LA(-1)));
}
return true;
}
private boolean LetterOrDigit_sempred(RuleContext _localctx, int predIndex) {
switch (predIndex) {
case 2:
return Character.isJavaIdentifierPart(_input.LA(-1));
case 3:
return Character.isJavaIdentifierPart(Character.toCodePoint((char)_input.LA(-2), (char)_input.LA(-1)));
}
return true;
}
public static final String _serializedATN =
"\u0004\u0000\u0015\u00d6\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002"+
"\u0001\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002"+
"\u0004\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002"+
"\u0007\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002"+
"\u000b\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e"+
"\u0002\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011"+
"\u0002\u0012\u0007\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014"+
"\u0002\u0015\u0007\u0015\u0002\u0016\u0007\u0016\u0002\u0017\u0007\u0017"+
"\u0002\u0018\u0007\u0018\u0002\u0019\u0007\u0019\u0001\u0000\u0001\u0000"+
"\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+
"\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006"+
"\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
"\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
"\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001\t\u0001"+
"\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001"+
"\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b"+
"\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+
"\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0005"+
"\rx\b\r\n\r\f\r{\t\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0005\u000e"+
"\u0081\b\u000e\n\u000e\f\u000e\u0084\t\u000e\u0001\u000f\u0001\u000f\u0001"+
"\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0003\u0010\u008c\b\u0010\u0001"+
"\u0010\u0001\u0010\u0004\u0010\u0090\b\u0010\u000b\u0010\f\u0010\u0091"+
"\u0003\u0010\u0094\b\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0005\u0011"+
"\u0099\b\u0011\n\u0011\f\u0011\u009c\t\u0011\u0003\u0011\u009e\b\u0011"+
"\u0001\u0012\u0001\u0012\u0003\u0012\u00a2\b\u0012\u0001\u0013\u0001\u0013"+
"\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014"+
"\u0003\u0014\u00ac\b\u0014\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015"+
"\u0001\u0015\u0001\u0015\u0003\u0015\u00b4\b\u0015\u0001\u0016\u0001\u0016"+
"\u0001\u0016\u0001\u0016\u0005\u0016\u00ba\b\u0016\n\u0016\f\u0016\u00bd"+
"\t\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001"+
"\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0001\u0017\u0005\u0017\u00c9"+
"\b\u0017\n\u0017\f\u0017\u00cc\t\u0017\u0001\u0017\u0001\u0017\u0001\u0018"+
"\u0004\u0018\u00d1\b\u0018\u000b\u0018\f\u0018\u00d2\u0001\u0019\u0001"+
"\u0019\u0001\u00bb\u0000\u001a\u0001\u0001\u0003\u0002\u0005\u0003\u0007"+
"\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b"+
"\u0017\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0000%\u0000"+
"\'\u0000)\u0000+\u0000-\u0012/\u00131\u00143\u0015\u0001\u0000\u0018\u0002"+
"\u0000SSss\u0002\u0000TTtt\u0002\u0000AAaa\u0002\u0000RRrr\u0002\u0000"+
"WWww\u0002\u0000EEee\u0002\u0000IIii\u0002\u0000GGgg\u0002\u0000HHhh\u0002"+
"\u0000DDdd\u0002\u0000PPpp\u0002\u0000NNnn\u0002\u0000CCcc\u0002\u0000"+
"YYyy\u0002\u0000[[]]\u0001\u0000\"\"\u0001\u000019\u0004\u0000$$AZ__a"+
"z\u0002\u0000\u0000\u00ff\u8000\ud800\u8000\udbff\u0001\u0000\u8000\ud800"+
"\u8000\udbff\u0001\u0000\u8000\udc00\u8000\udfff\u0005\u0000$$09AZ__a"+
"z\u0002\u0000\n\n\r\r\u0003\u0000\t\n\f\r \u00e0\u0000\u0001\u0001\u0000"+
"\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000"+
"\u0000\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000"+
"\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000"+
"\u0000\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000"+
"\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000"+
"\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000"+
"\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000"+
"\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000"+
"-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u00001\u0001"+
"\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00015\u0001\u0000\u0000"+
"\u0000\u00037\u0001\u0000\u0000\u0000\u00059\u0001\u0000\u0000\u0000\u0007"+
";\u0001\u0000\u0000\u0000\t=\u0001\u0000\u0000\u0000\u000b?\u0001\u0000"+
"\u0000\u0000\rA\u0001\u0000\u0000\u0000\u000fI\u0001\u0000\u0000\u0000"+
"\u0011P\u0001\u0000\u0000\u0000\u0013U\u0001\u0000\u0000\u0000\u0015["+
"\u0001\u0000\u0000\u0000\u0017b\u0001\u0000\u0000\u0000\u0019i\u0001\u0000"+
"\u0000\u0000\u001bt\u0001\u0000\u0000\u0000\u001d~\u0001\u0000\u0000\u0000"+
"\u001f\u0085\u0001\u0000\u0000\u0000!\u0093\u0001\u0000\u0000\u0000#\u009d"+
"\u0001\u0000\u0000\u0000%\u00a1\u0001\u0000\u0000\u0000\'\u00a3\u0001"+
"\u0000\u0000\u0000)\u00ab\u0001\u0000\u0000\u0000+\u00b3\u0001\u0000\u0000"+
"\u0000-\u00b5\u0001\u0000\u0000\u0000/\u00c3\u0001\u0000\u0000\u00001"+
"\u00d0\u0001\u0000\u0000\u00003\u00d4\u0001\u0000\u0000\u000056\u0005"+
".\u0000\u00006\u0002\u0001\u0000\u0000\u000078\u0005/\u0000\u00008\u0004"+
"\u0001\u0000\u0000\u00009:\u0005:\u0000\u0000:\u0006\u0001\u0000\u0000"+
"\u0000;<\u0005;\u0000\u0000<\b\u0001\u0000\u0000\u0000=>\u0005,\u0000"+
"\u0000>\n\u0001\u0000\u0000\u0000?@\u0005=\u0000\u0000@\f\u0001\u0000"+
"\u0000\u0000AB\u0005B\u0000\u0000BC\u0005L\u0000\u0000CD\u0005O\u0000"+
"\u0000DE\u0005C\u0000\u0000EF\u0005K\u0000\u0000FG\u0005E\u0000\u0000"+
"GH\u0005D\u0000\u0000H\u000e\u0001\u0000\u0000\u0000IJ\u0005S\u0000\u0000"+
"JK\u0005H\u0000\u0000KL\u0005A\u0000\u0000LM\u0005R\u0000\u0000MN\u0005"+
"E\u0000\u0000NO\u0005D\u0000\u0000O\u0010\u0001\u0000\u0000\u0000PQ\u0005"+
"I\u0000\u0000QR\u0005N\u0000\u0000RS\u0005I\u0000\u0000ST\u0005T\u0000"+
"\u0000T\u0012\u0001\u0000\u0000\u0000UV\u0007\u0000\u0000\u0000VW\u0007"+
"\u0001\u0000\u0000WX\u0007\u0002\u0000\u0000XY\u0007\u0003\u0000\u0000"+
"YZ\u0007\u0001\u0000\u0000Z\u0014\u0001\u0000\u0000\u0000[\\\u0005R\u0000"+
"\u0000\\]\u0005E\u0000\u0000]^\u0005Q\u0000\u0000^_\u0005T\u0000\u0000"+
"_`\u0005A\u0000\u0000`a\u0005G\u0000\u0000a\u0016\u0001\u0000\u0000\u0000"+
"bc\u0007\u0004\u0000\u0000cd\u0007\u0005\u0000\u0000de\u0007\u0006\u0000"+
"\u0000ef\u0007\u0007\u0000\u0000fg\u0007\b\u0000\u0000gh\u0007\u0001\u0000"+
"\u0000h\u0018\u0001\u0000\u0000\u0000ij\u0007\t\u0000\u0000jk\u0007\u0005"+
"\u0000\u0000kl\u0007\n\u0000\u0000lm\u0007\u0005\u0000\u0000mn\u0007\u000b"+
"\u0000\u0000no\u0007\t\u0000\u0000op\u0007\u0005\u0000\u0000pq\u0007\u000b"+
"\u0000\u0000qr\u0007\f\u0000\u0000rs\u0007\r\u0000\u0000s\u001a\u0001"+
"\u0000\u0000\u0000ty\u0005[\u0000\u0000ux\b\u000e\u0000\u0000vx\u0003"+
"\u001b\r\u0000wu\u0001\u0000\u0000\u0000wv\u0001\u0000\u0000\u0000x{\u0001"+
"\u0000\u0000\u0000yw\u0001\u0000\u0000\u0000yz\u0001\u0000\u0000\u0000"+
"z|\u0001\u0000\u0000\u0000{y\u0001\u0000\u0000\u0000|}\u0005]\u0000\u0000"+
"}\u001c\u0001\u0000\u0000\u0000~\u0082\u0003)\u0014\u0000\u007f\u0081"+
"\u0003+\u0015\u0000\u0080\u007f\u0001\u0000\u0000\u0000\u0081\u0084\u0001"+
"\u0000\u0000\u0000\u0082\u0080\u0001\u0000\u0000\u0000\u0082\u0083\u0001"+
"\u0000\u0000\u0000\u0083\u001e\u0001\u0000\u0000\u0000\u0084\u0082\u0001"+
"\u0000\u0000\u0000\u0085\u0086\u0005\"\u0000\u0000\u0086\u0087\b\u000f"+
"\u0000\u0000\u0087\u0088\u0005\"\u0000\u0000\u0088 \u0001\u0000\u0000"+
"\u0000\u0089\u0094\u0003#\u0011\u0000\u008a\u008c\u0003#\u0011\u0000\u008b"+
"\u008a\u0001\u0000\u0000\u0000\u008b\u008c\u0001\u0000\u0000\u0000\u008c"+
"\u008d\u0001\u0000\u0000\u0000\u008d\u008f\u0005.\u0000\u0000\u008e\u0090"+
"\u0003%\u0012\u0000\u008f\u008e\u0001\u0000\u0000\u0000\u0090\u0091\u0001"+
"\u0000\u0000\u0000\u0091\u008f\u0001\u0000\u0000\u0000\u0091\u0092\u0001"+
"\u0000\u0000\u0000\u0092\u0094\u0001\u0000\u0000\u0000\u0093\u0089\u0001"+
"\u0000\u0000\u0000\u0093\u008b\u0001\u0000\u0000\u0000\u0094\"\u0001\u0000"+
"\u0000\u0000\u0095\u009e\u00050\u0000\u0000\u0096\u009a\u0003\'\u0013"+
"\u0000\u0097\u0099\u0003%\u0012\u0000\u0098\u0097\u0001\u0000\u0000\u0000"+
"\u0099\u009c\u0001\u0000\u0000\u0000\u009a\u0098\u0001\u0000\u0000\u0000"+
"\u009a\u009b\u0001\u0000\u0000\u0000\u009b\u009e\u0001\u0000\u0000\u0000"+
"\u009c\u009a\u0001\u0000\u0000\u0000\u009d\u0095\u0001\u0000\u0000\u0000"+
"\u009d\u0096\u0001\u0000\u0000\u0000\u009e$\u0001\u0000\u0000\u0000\u009f"+
"\u00a2\u00050\u0000\u0000\u00a0\u00a2\u0003\'\u0013\u0000\u00a1\u009f"+
"\u0001\u0000\u0000\u0000\u00a1\u00a0\u0001\u0000\u0000\u0000\u00a2&\u0001"+
"\u0000\u0000\u0000\u00a3\u00a4\u0007\u0010\u0000\u0000\u00a4(\u0001\u0000"+
"\u0000\u0000\u00a5\u00ac\u0007\u0011\u0000\u0000\u00a6\u00a7\b\u0012\u0000"+
"\u0000\u00a7\u00ac\u0004\u0014\u0000\u0000\u00a8\u00a9\u0007\u0013\u0000"+
"\u0000\u00a9\u00aa\u0007\u0014\u0000\u0000\u00aa\u00ac\u0004\u0014\u0001"+
"\u0000\u00ab\u00a5\u0001\u0000\u0000\u0000\u00ab\u00a6\u0001\u0000\u0000"+
"\u0000\u00ab\u00a8\u0001\u0000\u0000\u0000\u00ac*\u0001\u0000\u0000\u0000"+
"\u00ad\u00b4\u0007\u0015\u0000\u0000\u00ae\u00af\b\u0012\u0000\u0000\u00af"+
"\u00b4\u0004\u0015\u0002\u0000\u00b0\u00b1\u0007\u0013\u0000\u0000\u00b1"+
"\u00b2\u0007\u0014\u0000\u0000\u00b2\u00b4\u0004\u0015\u0003\u0000\u00b3"+
"\u00ad\u0001\u0000\u0000\u0000\u00b3\u00ae\u0001\u0000\u0000\u0000\u00b3"+
"\u00b0\u0001\u0000\u0000\u0000\u00b4,\u0001\u0000\u0000\u0000\u00b5\u00b6"+
"\u0005/\u0000\u0000\u00b6\u00b7\u0005*\u0000\u0000\u00b7\u00bb\u0001\u0000"+
"\u0000\u0000\u00b8\u00ba\t\u0000\u0000\u0000\u00b9\u00b8\u0001\u0000\u0000"+
"\u0000\u00ba\u00bd\u0001\u0000\u0000\u0000\u00bb\u00bc\u0001\u0000\u0000"+
"\u0000\u00bb\u00b9\u0001\u0000\u0000\u0000\u00bc\u00be\u0001\u0000\u0000"+
"\u0000\u00bd\u00bb\u0001\u0000\u0000\u0000\u00be\u00bf\u0005*\u0000\u0000"+
"\u00bf\u00c0\u0005/\u0000\u0000\u00c0\u00c1\u0001\u0000\u0000\u0000\u00c1"+
"\u00c2\u0006\u0016\u0000\u0000\u00c2.\u0001\u0000\u0000\u0000\u00c3\u00c4"+
"\u00031\u0018\u0000\u00c4\u00c5\u0005/\u0000\u0000\u00c5\u00c6\u0005/"+
"\u0000\u0000\u00c6\u00ca\u0001\u0000\u0000\u0000\u00c7\u00c9\b\u0016\u0000"+
"\u0000\u00c8\u00c7\u0001\u0000\u0000\u0000\u00c9\u00cc\u0001\u0000\u0000"+
"\u0000\u00ca\u00c8\u0001\u0000\u0000\u0000\u00ca\u00cb\u0001\u0000\u0000"+
"\u0000\u00cb\u00cd\u0001\u0000\u0000\u0000\u00cc\u00ca\u0001\u0000\u0000"+
"\u0000\u00cd\u00ce\u0006\u0017\u0000\u0000\u00ce0\u0001\u0000\u0000\u0000"+
"\u00cf\u00d1\u0007\u0017\u0000\u0000\u00d0\u00cf\u0001\u0000\u0000\u0000"+
"\u00d1\u00d2\u0001\u0000\u0000\u0000\u00d2\u00d0\u0001\u0000\u0000\u0000"+
"\u00d2\u00d3\u0001\u0000\u0000\u0000\u00d32\u0001\u0000\u0000\u0000\u00d4"+
"\u00d5\t\u0000\u0000\u0000\u00d54\u0001\u0000\u0000\u0000\u000f\u0000"+
"wy\u0082\u008b\u0091\u0093\u009a\u009d\u00a1\u00ab\u00b3\u00bb\u00ca\u00d2"+
"\u0001\u0006\u0000\u0000";
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);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy