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

io.rivulet.BasicSQLLexer Maven / Gradle / Ivy

The newest version!
// Generated from io/rivulet/BasicSQL.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 BasicSQLLexer extends Lexer {
	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		MULTILINE_COMMENT=1, SINGLE_LINE_COMMENT=2, DOUBLE_QUOTE_STRING=3, SINGLE_QUOTE_STRING=4, 
		BACKTICK_STRING=5, OTHER=6;
	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	public static final String[] tokenNames = {
		"",
		"MULTILINE_COMMENT", "SINGLE_LINE_COMMENT", "DOUBLE_QUOTE_STRING", "SINGLE_QUOTE_STRING", 
		"BACKTICK_STRING", "OTHER"
	};
	public static final String[] ruleNames = {
		"MULTILINE_COMMENT", "SINGLE_LINE_COMMENT", "DOUBLE_QUOTE_STRING", "SINGLE_QUOTE_STRING", 
		"BACKTICK_STRING", "OTHER"
	};


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

	@Override
	public String getGrammarFileName() { return "BasicSQL.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\b[\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\3\2\3\2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\2-,\3\2\2\2.\6\3\2\2\2/\67\7$\2"+
		"\2\60\61\7^\2\2\61\66\13\2\2\2\62\63\7$\2\2\63\66\7$\2\2\64\66\n\3\2\2"+
		"\65\60\3\2\2\2\65\62\3\2\2\2\65\64\3\2\2\2\669\3\2\2\2\67\65\3\2\2\2\67"+
		"8\3\2\2\28;\3\2\2\29\67\3\2\2\2:<\t\4\2\2;:\3\2\2\2<\b\3\2\2\2=E\7)\2"+
		"\2>?\7^\2\2?D\13\2\2\2@A\7)\2\2AD\7)\2\2BD\n\5\2\2C>\3\2\2\2C@\3\2\2\2"+
		"CB\3\2\2\2DG\3\2\2\2EC\3\2\2\2EF\3\2\2\2FI\3\2\2\2GE\3\2\2\2HJ\t\6\2\2"+
		"IH\3\2\2\2J\n\3\2\2\2KS\7b\2\2LM\7^\2\2MR\13\2\2\2NO\7b\2\2OR\7b\2\2P"+
		"R\n\7\2\2QL\3\2\2\2QN\3\2\2\2QP\3\2\2\2RU\3\2\2\2SQ\3\2\2\2ST\3\2\2\2"+
		"TW\3\2\2\2US\3\2\2\2VX\t\b\2\2WV\3\2\2\2X\f\3\2\2\2YZ\13\2\2\2Z\16\3\2"+
		"\2\2\22\2\25\33 %)-\65\67;CEIQSW";
	public static final ATN _ATN =
		ATNSimulator.deserialize(_serializedATN.toCharArray());
	static {
		_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy