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

acanvasio.expretau.expretau-parser.1.1.0.source-code.ExpretauLexer Maven / Gradle / Ivy

The newest version!
// Generated from ExpretauLexer.g4 by ANTLR 4.8

package io.github.datacanvasio.expretau.antlr4;

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 ExpretauLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.8", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		INT=1, REAL=2, STR=3, BOOL=4, ADD=5, SUB=6, MUL=7, DIV=8, LT=9, LE=10, 
		EQ=11, GT=12, GE=13, NE=14, AND=15, OR=16, NOT=17, STARTSWITH=18, ENDSWITH=19, 
		CONTAINS=20, MATCHES=21, ID=22, WS=23, NL=24, LPAR=25, RPAR=26, COMMA=27, 
		DOT=28, LBRCK=29, RBRCK=30;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	private static String[] makeRuleNames() {
		return new String[] {
			"INT", "REAL", "STR", "BOOL", "ADD", "SUB", "MUL", "DIV", "LT", "LE", 
			"EQ", "GT", "GE", "NE", "AND", "OR", "NOT", "STARTSWITH", "ENDSWITH", 
			"CONTAINS", "MATCHES", "ID", "WS", "NL", "LPAR", "RPAR", "COMMA", "DOT", 
			"LBRCK", "RBRCK", "ALPHA", "DIGIT", "HEX", "NUM", "EXP", "ESC", "UNICODE"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	private static String[] makeLiteralNames() {
		return new String[] {
			null, null, null, null, null, "'+'", "'-'", "'*'", "'/'", "'<'", "'<='", 
			null, "'>'", "'>='", null, null, null, null, "'startsWith'", "'endsWith'", 
			"'contains'", "'matches'", null, null, null, "'('", "')'", "','", "'.'", 
			"'['", "']'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, "INT", "REAL", "STR", "BOOL", "ADD", "SUB", "MUL", "DIV", "LT", 
			"LE", "EQ", "GT", "GE", "NE", "AND", "OR", "NOT", "STARTSWITH", "ENDSWITH", 
			"CONTAINS", "MATCHES", "ID", "WS", "NL", "LPAR", "RPAR", "COMMA", "DOT", 
			"LBRCK", "RBRCK"
		};
	}
	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 ExpretauLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "ExpretauLexer.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 \u0118\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\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
		"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\3\2\3\2\3\3\3\3\3\3\3\3\5\3T\n\3\3"+
		"\3\3\3\3\3\5\3Y\n\3\3\4\3\4\3\4\7\4^\n\4\f\4\16\4a\13\4\3\4\3\4\3\4\3"+
		"\4\7\4g\n\4\f\4\16\4j\13\4\3\4\5\4m\n\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3"+
		"\5\3\5\5\5x\n\5\3\6\3\6\3\7\3\7\3\b\3\b\3\t\3\t\3\n\3\n\3\13\3\13\3\13"+
		"\3\f\3\f\3\f\5\f\u008a\n\f\3\r\3\r\3\16\3\16\3\16\3\17\3\17\3\17\3\17"+
		"\5\17\u0095\n\17\3\20\3\20\3\20\3\20\3\20\5\20\u009c\n\20\3\21\3\21\3"+
		"\21\3\21\5\21\u00a2\n\21\3\22\3\22\3\22\3\22\5\22\u00a8\n\22\3\23\3\23"+
		"\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24"+
		"\3\24\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\25\3\26"+
		"\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\5\27\u00d1\n\27\3\27\3\27"+
		"\3\27\7\27\u00d6\n\27\f\27\16\27\u00d9\13\27\3\30\6\30\u00dc\n\30\r\30"+
		"\16\30\u00dd\3\30\3\30\3\31\5\31\u00e3\n\31\3\31\6\31\u00e6\n\31\r\31"+
		"\16\31\u00e7\3\31\3\31\3\32\3\32\3\33\3\33\3\34\3\34\3\35\3\35\3\36\3"+
		"\36\3\37\3\37\3 \3 \3!\3!\3\"\3\"\3#\3#\3#\7#\u0101\n#\f#\16#\u0104\13"+
		"#\5#\u0106\n#\3$\3$\5$\u010a\n$\3$\3$\3%\3%\3%\5%\u0111\n%\3&\3&\3&\3"+
		"&\3&\3&\2\2\'\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)\26+\27-\30/\31\61\32\63\33\65\34"+
		"\67\359\36;\37= ?\2A\2C\2E\2G\2I\2K\2\3\2\r\4\2))^^\4\2$$^^\4\2&&aa\4"+
		"\2\13\13\"\"\4\2C\\c|\3\2\62;\5\2\62;CHch\3\2\63;\4\2GGgg\4\2--//\n\2"+
		"$$\61\61^^ddhhppttvv\2\u0128\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)\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\2\65\3\2\2\2\2"+
		"\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\3M\3\2\2\2\5X\3\2\2\2\7l"+
		"\3\2\2\2\tw\3\2\2\2\13y\3\2\2\2\r{\3\2\2\2\17}\3\2\2\2\21\177\3\2\2\2"+
		"\23\u0081\3\2\2\2\25\u0083\3\2\2\2\27\u0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"\2\2\2\u0081\u0082\7>\2\2\u0082\24\3\2\2\2\u0083\u0084\7>\2\2\u0084\u0085"+
		"\7?\2\2\u0085\26\3\2\2\2\u0086\u0087\7?\2\2\u0087\u008a\7?\2\2\u0088\u008a"+
		"\7?\2\2\u0089\u0086\3\2\2\2\u0089\u0088\3\2\2\2\u008a\30\3\2\2\2\u008b"+
		"\u008c\7@\2\2\u008c\32\3\2\2\2\u008d\u008e\7@\2\2\u008e\u008f\7?\2\2\u008f"+
		"\34\3\2\2\2\u0090\u0091\7>\2\2\u0091\u0095\7@\2\2\u0092\u0093\7#\2\2\u0093"+
		"\u0095\7?\2\2\u0094\u0090\3\2\2\2\u0094\u0092\3\2\2\2\u0095\36\3\2\2\2"+
		"\u0096\u0097\7c\2\2\u0097\u0098\7p\2\2\u0098\u009c\7f\2\2\u0099\u009a"+
		"\7(\2\2\u009a\u009c\7(\2\2\u009b\u0096\3\2\2\2\u009b\u0099\3\2\2\2\u009c"+
		" \3\2\2\2\u009d\u009e\7q\2\2\u009e\u00a2\7t\2\2\u009f\u00a0\7~\2\2\u00a0"+
		"\u00a2\7~\2\2\u00a1\u009d\3\2\2\2\u00a1\u009f\3\2\2\2\u00a2\"\3\2\2\2"+
		"\u00a3\u00a4\7p\2\2\u00a4\u00a5\7q\2\2\u00a5\u00a8\7v\2\2\u00a6\u00a8"+
		"\7#\2\2\u00a7\u00a3\3\2\2\2\u00a7\u00a6\3\2\2\2\u00a8$\3\2\2\2\u00a9\u00aa"+
		"\7u\2\2\u00aa\u00ab\7v\2\2\u00ab\u00ac\7c\2\2\u00ac\u00ad\7t\2\2\u00ad"+
		"\u00ae\7v\2\2\u00ae\u00af\7u\2\2\u00af\u00b0\7Y\2\2\u00b0\u00b1\7k\2\2"+
		"\u00b1\u00b2\7v\2\2\u00b2\u00b3\7j\2\2\u00b3&\3\2\2\2\u00b4\u00b5\7g\2"+
		"\2\u00b5\u00b6\7p\2\2\u00b6\u00b7\7f\2\2\u00b7\u00b8\7u\2\2\u00b8\u00b9"+
		"\7Y\2\2\u00b9\u00ba\7k\2\2\u00ba\u00bb\7v\2\2\u00bb\u00bc\7j\2\2\u00bc"+
		"(\3\2\2\2\u00bd\u00be\7e\2\2\u00be\u00bf\7q\2\2\u00bf\u00c0\7p\2\2\u00c0"+
		"\u00c1\7v\2\2\u00c1\u00c2\7c\2\2\u00c2\u00c3\7k\2\2\u00c3\u00c4\7p\2\2"+
		"\u00c4\u00c5\7u\2\2\u00c5*\3\2\2\2\u00c6\u00c7\7o\2\2\u00c7\u00c8\7c\2"+
		"\2\u00c8\u00c9\7v\2\2\u00c9\u00ca\7e\2\2\u00ca\u00cb\7j\2\2\u00cb\u00cc"+
		"\7g\2\2\u00cc\u00cd\7u\2\2\u00cd,\3\2\2\2\u00ce\u00d1\5? \2\u00cf\u00d1"+
		"\t\4\2\2\u00d0\u00ce\3\2\2\2\u00d0\u00cf\3\2\2\2\u00d1\u00d7\3\2\2\2\u00d2"+
		"\u00d6\5? \2\u00d3\u00d6\5A!\2\u00d4\u00d6\7a\2\2\u00d5\u00d2\3\2\2\2"+
		"\u00d5\u00d3\3\2\2\2\u00d5\u00d4\3\2\2\2\u00d6\u00d9\3\2\2\2\u00d7\u00d5"+
		"\3\2\2\2\u00d7\u00d8\3\2\2\2\u00d8.\3\2\2\2\u00d9\u00d7\3\2\2\2\u00da"+
		"\u00dc\t\5\2\2\u00db\u00da\3\2\2\2\u00dc\u00dd\3\2\2\2\u00dd\u00db\3\2"+
		"\2\2\u00dd\u00de\3\2\2\2\u00de\u00df\3\2\2\2\u00df\u00e0\b\30\2\2\u00e0"+
		"\60\3\2\2\2\u00e1\u00e3\7\17\2\2\u00e2\u00e1\3\2\2\2\u00e2\u00e3\3\2\2"+
		"\2\u00e3\u00e4\3\2\2\2\u00e4\u00e6\7\f\2\2\u00e5\u00e2\3\2\2\2\u00e6\u00e7"+
		"\3\2\2\2\u00e7\u00e5\3\2\2\2\u00e7\u00e8\3\2\2\2\u00e8\u00e9\3\2\2\2\u00e9"+
		"\u00ea\b\31\2\2\u00ea\62\3\2\2\2\u00eb\u00ec\7*\2\2\u00ec\64\3\2\2\2\u00ed"+
		"\u00ee\7+\2\2\u00ee\66\3\2\2\2\u00ef\u00f0\7.\2\2\u00f08\3\2\2\2\u00f1"+
		"\u00f2\7\60\2\2\u00f2:\3\2\2\2\u00f3\u00f4\7]\2\2\u00f4<\3\2\2\2\u00f5"+
		"\u00f6\7_\2\2\u00f6>\3\2\2\2\u00f7\u00f8\t\6\2\2\u00f8@\3\2\2\2\u00f9"+
		"\u00fa\t\7\2\2\u00faB\3\2\2\2\u00fb\u00fc\t\b\2\2\u00fcD\3\2\2\2\u00fd"+
		"\u0106\7\62\2\2\u00fe\u0102\t\t\2\2\u00ff\u0101\t\7\2\2\u0100\u00ff\3"+
		"\2\2\2\u0101\u0104\3\2\2\2\u0102\u0100\3\2\2\2\u0102\u0103\3\2\2\2\u0103"+
		"\u0106\3\2\2\2\u0104\u0102\3\2\2\2\u0105\u00fd\3\2\2\2\u0105\u00fe\3\2"+
		"\2\2\u0106F\3\2\2\2\u0107\u0109\t\n\2\2\u0108\u010a\t\13\2\2\u0109\u0108"+
		"\3\2\2\2\u0109\u010a\3\2\2\2\u010a\u010b\3\2\2\2\u010b\u010c\5E#\2\u010c"+
		"H\3\2\2\2\u010d\u0110\7^\2\2\u010e\u0111\t\f\2\2\u010f\u0111\5K&\2\u0110"+
		"\u010e\3\2\2\2\u0110\u010f\3\2\2\2\u0111J\3\2\2\2\u0112\u0113\7w\2\2\u0113"+
		"\u0114\5C\"\2\u0114\u0115\5C\"\2\u0115\u0116\5C\"\2\u0116\u0117\5C\"\2"+
		"\u0117L\3\2\2\2\32\2SX]_fhlw\u0089\u0094\u009b\u00a1\u00a7\u00d0\u00d5"+
		"\u00d7\u00dd\u00e2\u00e7\u0102\u0105\u0109\u0110\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);
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy