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

me.danwi.sqlex.parser.SqlExMethodLanguageLexer Maven / Gradle / Ivy

There is a newer version: 0.18.0
Show newest version
// Generated from me/danwi/sqlex/parser/SqlExMethodLanguageLexer.g4 by ANTLR 4.9.2
package me.danwi.sqlex.parser;
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 SqlExMethodLanguageLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.9.2", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		WS=1, COMMENT=2, IMPORT=3, ID=4, LCB=5, DOT=6, STAR=7, LB=8, RB=9, COLON=10, 
		COMMA=11, ERRCHAR=12, SQL_WS=13, RCB=14, SQL_TEXT=15;
	public static final int
		SQL=1;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

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

	private static String[] makeRuleNames() {
		return new String[] {
			"WS", "COMMENT", "IMPORT", "ID", "LCB", "DOT", "STAR", "LB", "RB", "COLON", 
			"COMMA", "ERRCHAR", "SQL_WS", "RCB", "SQL_TEXT", "FIRST_SQL_CHAR", "SQL_CHAR"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	private static String[] makeLiteralNames() {
		return new String[] {
			null, null, null, "'import'", null, "'{'", "'.'", "'*'", "'('", "')'", 
			"':'", "','", null, null, "'}'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, "WS", "COMMENT", "IMPORT", "ID", "LCB", "DOT", "STAR", "LB", "RB", 
			"COLON", "COMMA", "ERRCHAR", "SQL_WS", "RCB", "SQL_TEXT"
		};
	}
	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 SqlExMethodLanguageLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "SqlExMethodLanguageLexer.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\21k\b\1\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"+
		"\3\2\6\2(\n\2\r\2\16\2)\3\2\3\2\3\3\3\3\7\3\60\n\3\f\3\16\3\63\13\3\3"+
		"\4\3\4\3\4\3\4\3\4\3\4\3\4\3\5\3\5\7\5>\n\5\f\5\16\5A\13\5\3\6\3\6\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\f\3\f\3\r\3\r\3\r\3\r"+
		"\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\20\3\20\6\20a\n\20\r\20\16"+
		"\20b\3\21\3\21\3\22\3\22\3\22\5\22j\n\22\2\2\23\4\3\6\4\b\5\n\6\f\7\16"+
		"\b\20\t\22\n\24\13\26\f\30\r\32\16\34\17\36\20 \21\"\2$\2\4\2\3\t\5\2"+
		"\13\f\17\17\"\"\4\2##%%\4\2\f\f\17\17\4\2C\\c|\6\2\62;C\\aac|\7\2\13\f"+
		"\16\16\"\"}}\177\177\4\2}}\177\177\2l\2\4\3\2\2\2\2\6\3\2\2\2\2\b\3\2"+
		"\2\2\2\n\3\2\2\2\2\f\3\2\2\2\2\16\3\2\2\2\2\20\3\2\2\2\2\22\3\2\2\2\2"+
		"\24\3\2\2\2\2\26\3\2\2\2\2\30\3\2\2\2\2\32\3\2\2\2\3\34\3\2\2\2\3\36\3"+
		"\2\2\2\3 \3\2\2\2\4\'\3\2\2\2\6-\3\2\2\2\b\64\3\2\2\2\n;\3\2\2\2\fB\3"+
		"\2\2\2\16F\3\2\2\2\20H\3\2\2\2\22J\3\2\2\2\24L\3\2\2\2\26N\3\2\2\2\30"+
		"P\3\2\2\2\32R\3\2\2\2\34V\3\2\2\2\36Z\3\2\2\2 ^\3\2\2\2\"d\3\2\2\2$i\3"+
		"\2\2\2&(\t\2\2\2\'&\3\2\2\2()\3\2\2\2)\'\3\2\2\2)*\3\2\2\2*+\3\2\2\2+"+
		",\b\2\2\2,\5\3\2\2\2-\61\t\3\2\2.\60\n\4\2\2/.\3\2\2\2\60\63\3\2\2\2\61"+
		"/\3\2\2\2\61\62\3\2\2\2\62\7\3\2\2\2\63\61\3\2\2\2\64\65\7k\2\2\65\66"+
		"\7o\2\2\66\67\7r\2\2\678\7q\2\289\7t\2\29:\7v\2\2:\t\3\2\2\2;?\t\5\2\2"+
		"<>\t\6\2\2=<\3\2\2\2>A\3\2\2\2?=\3\2\2\2?@\3\2\2\2@\13\3\2\2\2A?\3\2\2"+
		"\2BC\7}\2\2CD\3\2\2\2DE\b\6\3\2E\r\3\2\2\2FG\7\60\2\2G\17\3\2\2\2HI\7"+
		",\2\2I\21\3\2\2\2JK\7*\2\2K\23\3\2\2\2LM\7+\2\2M\25\3\2\2\2NO\7<\2\2O"+
		"\27\3\2\2\2PQ\7.\2\2Q\31\3\2\2\2RS\13\2\2\2ST\3\2\2\2TU\b\r\2\2U\33\3"+
		"\2\2\2VW\5\4\2\2WX\3\2\2\2XY\b\16\2\2Y\35\3\2\2\2Z[\7\177\2\2[\\\3\2\2"+
		"\2\\]\b\17\4\2]\37\3\2\2\2^`\5\"\21\2_a\5$\22\2`_\3\2\2\2ab\3\2\2\2b`"+
		"\3\2\2\2bc\3\2\2\2c!\3\2\2\2de\n\7\2\2e#\3\2\2\2fj\n\b\2\2gh\7^\2\2hj"+
		"\t\b\2\2if\3\2\2\2ig\3\2\2\2j%\3\2\2\2\t\2\3)\61?bi\5\2\3\2\7\3\2\6\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 - 2024 Weber Informatics LLC | Privacy Policy