io.rivulet.EncodedURLLexer Maven / Gradle / Ivy
The newest version!
// Generated from io/rivulet/EncodedURL.g4 by ANTLR 4.0
package io.rivulet;
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 EncodedURLLexer extends Lexer {
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
PERCENT_ENCODED_CHAR=1, PLUS=2, CHARS=3;
public static String[] modeNames = {
"DEFAULT_MODE"
};
public static final String[] tokenNames = {
"",
"PERCENT_ENCODED_CHAR", "'+'", "CHARS"
};
public static final String[] ruleNames = {
"PERCENT_ENCODED_CHAR", "PLUS", "CHARS"
};
public EncodedURLLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "EncodedURL.g4"; }
@Override
public String[] getTokenNames() { return tokenNames; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String[] getModeNames() { return modeNames; }
@Override
public ATN getATN() { return _ATN; }
public static final String _serializedATN =
"\2\4\5\32\b\1\4\2\t\2\4\3\t\3\4\4\t\4\3\2\3\2\3\2\6\2\r\n\2\r\2\16\2\16"+
"\3\3\3\3\3\4\6\4\24\n\4\r\4\16\4\25\3\4\5\4\31\n\4\2\5\3\3\1\5\4\1\7\5"+
"\1\3\2\5\5\62;CHch\5\62;CHch\4\'\'--\34\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3"+
"\2\2\2\3\f\3\2\2\2\5\20\3\2\2\2\7\30\3\2\2\2\t\n\7\'\2\2\n\13\t\2\2\2"+
"\13\r\t\3\2\2\f\t\3\2\2\2\r\16\3\2\2\2\16\f\3\2\2\2\16\17\3\2\2\2\17\4"+
"\3\2\2\2\20\21\7-\2\2\21\6\3\2\2\2\22\24\n\4\2\2\23\22\3\2\2\2\24\25\3"+
"\2\2\2\25\23\3\2\2\2\25\26\3\2\2\2\26\31\3\2\2\2\27\31\13\2\2\2\30\23"+
"\3\2\2\2\30\27\3\2\2\2\31\b\3\2\2\2\6\2\16\25\30";
public static final ATN _ATN =
ATNSimulator.deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy