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

org.apache.druid.data.input.influx.InfluxLineProtocolLexer Maven / Gradle / Ivy

// Generated from org/apache/druid/data/input/influx/InfluxLineProtocol.g4 by ANTLR 4.5.1
package org.apache.druid.data.input.influx;
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 InfluxLineProtocolLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.5.1", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__0=1, T__1=2, T__2=3, NEWLINE=4, NUMBER=5, BOOLEAN=6, QUOTED_STRING=7, 
		IDENTIFIER_STRING=8;
	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	public static final String[] ruleNames = {
		"T__0", "T__1", "T__2", "NEWLINE", "NUMBER", "BOOLEAN", "QUOTED_STRING", 
		"IDENTIFIER_STRING", "IdentifierEscapeSequence", "StringFieldEscapeSequence", 
		"INT"
	};

	private static final String[] _LITERAL_NAMES = {
		null, "','", "' '", "'='", "'\n'"
	};
	private static final String[] _SYMBOLIC_NAMES = {
		null, null, null, null, "NEWLINE", "NUMBER", "BOOLEAN", "QUOTED_STRING", 
		"IDENTIFIER_STRING"
	};
	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 InfluxLineProtocolLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "InfluxLineProtocol.g4"; }

	@Override
	public String[] getRuleNames() { return ruleNames; }

	@Override
	public String getSerializedATN() { return _serializedATN; }

	@Override
	public String[] getModeNames() { return modeNames; }

	@Override
	public ATN getATN() { return _ATN; }

	public static final String _serializedATN =
		"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\2\no\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\3\2\3\2\3\3\3\3\3\4\3\4\3\5\3\5\3\6\5\6#\n\6\3\6\3\6\3\6\6"+
		"\6(\n\6\r\6\16\6)\5\6,\n\6\3\6\5\6/\n\6\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3"+
		"\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7\3\7"+
		"\3\7\3\7\3\7\3\7\5\7N\n\7\3\b\3\b\3\b\7\bS\n\b\f\b\16\bV\13\b\3\b\3\b"+
		"\3\t\3\t\6\t\\\n\t\r\t\16\t]\3\n\3\n\3\n\3\13\3\13\3\13\3\f\3\f\3\f\7"+
		"\fi\n\f\f\f\16\fl\13\f\5\fn\n\f\2\2\r\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21"+
		"\n\23\2\25\2\27\2\3\2\t\3\2\62;\4\2VVvv\4\2HHhh\4\2$$^^\7\2\f\f\"\".."+
		"??^^\6\2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\2\2UW\3\2\2\2VT\3"+
		"\2\2\2WX\7$\2\2X\20\3\2\2\2Y\\\5\23\n\2Z\\\n\6\2\2[Y\3\2\2\2[Z\3\2\2\2"+
		"\\]\3\2\2\2][\3\2\2\2]^\3\2\2\2^\22\3\2\2\2_`\7^\2\2`a\t\7\2\2a\24\3\2"+
		"\2\2bc\7^\2\2cd\t\5\2\2d\26\3\2\2\2en\7\62\2\2fj\t\b\2\2gi\t\2\2\2hg\3"+
		"\2\2\2il\3\2\2\2jh\3\2\2\2jk\3\2\2\2kn\3\2\2\2lj\3\2\2\2me\3\2\2\2mf\3"+
		"\2\2\2n\30\3\2\2\2\16\2\")+.MRT[]jm\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