io.rivulet.BasicVBScriptLexer Maven / Gradle / Ivy
The newest version!
// Generated from io/rivulet/BasicVBScript.g4 by ANTLR 4.0
package io.rivulet;
import java.util.LinkedList;
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 BasicVBScriptLexer extends Lexer {
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
SINGLE_LINE_COMMENT=1, DOUBLE_QUOTE_STRING=2, REM=3, OTHER=4;
public static String[] modeNames = {
"DEFAULT_MODE"
};
public static final String[] tokenNames = {
"",
"SINGLE_LINE_COMMENT", "DOUBLE_QUOTE_STRING", "REM", "OTHER"
};
public static final String[] ruleNames = {
"SINGLE_LINE_COMMENT", "DOUBLE_QUOTE_STRING", "REM", "OTHER"
};
public BasicVBScriptLexer(CharStream input) {
super(input);
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
@Override
public String getGrammarFileName() { return "BasicVBScript.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\6G\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\3\2\3\2\7\2\16\n\2\f\2\16"+
"\2\21\13\2\3\2\5\2\24\n\2\3\2\3\2\5\2\30\n\2\3\2\3\2\3\2\7\2\35\n\2\f"+
"\2\16\2 \13\2\5\2\"\n\2\3\2\5\2%\n\2\3\2\3\2\5\2)\n\2\5\2+\n\2\3\3\3\3"+
"\3\3\3\3\7\3\61\n\3\f\3\16\3\64\13\3\3\3\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\2;\b\3\2\2\2<=\n"+
"\n\2\2=>\t\13\2\2>?\t\f\2\2?F\t\r\2\2@A\t\16\2\2AB\t\17\2\2BC\t\20\2\2"+
"CF\n\21\2\2DF\13\2\2\2E<\3\2\2\2E@\3\2\2\2ED\3\2\2\2F\n\3\2\2\2\17\2\17"+
"\23\27\36!$(*\60\62\66E";
public static final ATN _ATN =
ATNSimulator.deserialize(_serializedATN.toCharArray());
static {
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
}
}