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

org.blocks4j.reconf.client.adapters.antlr4.ReconfLexer Maven / Gradle / Ivy

// Generated from /home/arss/IdeaProjects/reconf-jvm/reconf-client/src/main/resources/antlr4/Reconf.g4 by ANTLR 4.5.1
package org.blocks4j.reconf.client.adapters.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 ReconfLexer 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, LITERAL=3, OPEN_BRACKET=4, CLOSE_BRACKET=5, WS=6;
	public static String[] modeNames = {
		"DEFAULT_MODE"
	};

	public static final String[] ruleNames = {
		"T__0", "T__1", "LITERAL", "ESC", "UNICODE", "HEX", "OPEN_BRACKET", "CLOSE_BRACKET", 
		"WS"
	};

	private static final String[] _LITERAL_NAMES = {
		null, "','", "':'", null, "'['", "']'"
	};
	private static final String[] _SYMBOLIC_NAMES = {
		null, null, null, "LITERAL", "OPEN_BRACKET", "CLOSE_BRACKET", "WS"
	};
	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 ReconfLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "Reconf.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\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\4\b\t\b\4\t\t\t\4\n\t\n\3\2\3\2"+
		"\3\3\3\3\3\4\3\4\3\4\3\4\3\4\6\4\37\n\4\r\4\16\4 \3\4\5\4$\n\4\3\5\3\5"+
		"\3\5\5\5)\n\5\3\6\3\6\3\6\3\6\3\6\3\6\3\7\3\7\3\b\3\b\3\t\3\t\3\n\6\n"+
		"8\n\n\r\n\16\n9\3\n\3\n\2\2\13\3\3\5\4\7\5\t\2\13\2\r\2\17\6\21\7\23\b"+
		"\3\2\6\4\2))^^\n\2))\61\61^^ddhhppttvv\5\2\62;CHch\5\2\13\f\17\17\"\""+
		">\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3"+
		"\2\2\2\3\25\3\2\2\2\5\27\3\2\2\2\7#\3\2\2\2\t%\3\2\2\2\13*\3\2\2\2\r\60"+
		"\3\2\2\2\17\62\3\2\2\2\21\64\3\2\2\2\23\67\3\2\2\2\25\26\7.\2\2\26\4\3"+
		"\2\2\2\27\30\7<\2\2\30\6\3\2\2\2\31\32\7)\2\2\32$\7)\2\2\33\36\7)\2\2"+
		"\34\37\5\t\5\2\35\37\n\2\2\2\36\34\3\2\2\2\36\35\3\2\2\2\37 \3\2\2\2 "+
		"\36\3\2\2\2 !\3\2\2\2!\"\3\2\2\2\"$\7)\2\2#\31\3\2\2\2#\33\3\2\2\2$\b"+
		"\3\2\2\2%(\7^\2\2&)\t\3\2\2\')\5\13\6\2(&\3\2\2\2(\'\3\2\2\2)\n\3\2\2"+
		"\2*+\7w\2\2+,\5\r\7\2,-\5\r\7\2-.\5\r\7\2./\5\r\7\2/\f\3\2\2\2\60\61\t"+
		"\4\2\2\61\16\3\2\2\2\62\63\7]\2\2\63\20\3\2\2\2\64\65\7_\2\2\65\22\3\2"+
		"\2\2\668\t\5\2\2\67\66\3\2\2\289\3\2\2\29\67\3\2\2\29:\3\2\2\2:;\3\2\2"+
		"\2;<\b\n\2\2<\24\3\2\2\2\b\2\36 #(9\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