All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.rivulet.HTMLCharReferencesLexer Maven / Gradle / Ivy

The newest version!
// Generated from io/rivulet/HTMLCharReferences.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 HTMLCharReferencesLexer extends Lexer {
	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		HEX_CHAR_REF=1, DECIMAL_CHAR_REF=2, NAMED_CHAR_REF=3, CHARS=4;
	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	public static final String[] tokenNames = {
		"",
		"HEX_CHAR_REF", "DECIMAL_CHAR_REF", "NAMED_CHAR_REF", "CHARS"
	};
	public static final String[] ruleNames = {
		"HEX_CHAR_REF", "DECIMAL_CHAR_REF", "NAMED_CHAR_REF", "CHARS"
	};


	public HTMLCharReferencesLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "HTMLCharReferences.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\6\63\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\3\2\3\2\3\2\3\2\3\2\6\2"+
		"\21\n\2\r\2\16\2\22\3\2\5\2\26\n\2\3\3\3\3\3\3\3\3\6\3\34\n\3\r\3\16\3"+
		"\35\3\3\5\3!\n\3\3\4\3\4\6\4%\n\4\r\4\16\4&\3\4\5\4*\n\4\3\5\6\5-\n\5"+
		"\r\5\16\5.\3\5\5\5\62\n\5\2\6\3\3\1\5\4\1\7\5\1\t\6\1\3\2\7\4ZZzz\5\62"+
		";CHch\3\62;\5\62;C\\c|\3((:\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3"+
		"\2\2\2\3\13\3\2\2\2\5\27\3\2\2\2\7\"\3\2\2\2\t\61\3\2\2\2\13\f\7(\2\2"+
		"\f\r\7%\2\2\r\16\3\2\2\2\16\20\t\2\2\2\17\21\t\3\2\2\20\17\3\2\2\2\21"+
		"\22\3\2\2\2\22\20\3\2\2\2\22\23\3\2\2\2\23\25\3\2\2\2\24\26\7=\2\2\25"+
		"\24\3\2\2\2\25\26\3\2\2\2\26\4\3\2\2\2\27\30\7(\2\2\30\31\7%\2\2\31\33"+
		"\3\2\2\2\32\34\t\4\2\2\33\32\3\2\2\2\34\35\3\2\2\2\35\33\3\2\2\2\35\36"+
		"\3\2\2\2\36 \3\2\2\2\37!\7=\2\2 \37\3\2\2\2 !\3\2\2\2!\6\3\2\2\2\"$\7"+
		"(\2\2#%\t\5\2\2$#\3\2\2\2%&\3\2\2\2&$\3\2\2\2&\'\3\2\2\2\')\3\2\2\2(*"+
		"\7=\2\2)(\3\2\2\2)*\3\2\2\2*\b\3\2\2\2+-\n\6\2\2,+\3\2\2\2-.\3\2\2\2."+
		",\3\2\2\2./\3\2\2\2/\62\3\2\2\2\60\62\13\2\2\2\61,\3\2\2\2\61\60\3\2\2"+
		"\2\62\n\3\2\2\2\13\2\22\25\35 &).\61";
	public static final ATN _ATN =
		ATNSimulator.deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy