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

eu.mihosoft.vmf.vmftext.grammar.vmftextcomments.VMFTextCommentsLexer Maven / Gradle / Ivy

The newest version!
// Generated from /Users/miho/EigeneApps/VMF-Text/src/main/resources/eu/mihosoft/vmf/vmftext/antlr/VMFTextComments.g4 by ANTLR 4.7
package eu.mihosoft.vmf.vmftext.grammar.vmftextcomments;
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 VMFTextCommentsLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.7", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		STRING_DOUBLE=1, STRING_SINGLE=2, VMF_TEXT_MULTILINE_COMMENT=3, UNKNOWN=4;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

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

	public static final String[] ruleNames = {
		"STRING_DOUBLE", "STRING_SINGLE", "VMF_TEXT_MULTILINE_COMMENT", "UNKNOWN"
	};

	private static final String[] _LITERAL_NAMES = {
	};
	private static final String[] _SYMBOLIC_NAMES = {
		null, "STRING_DOUBLE", "STRING_SINGLE", "VMF_TEXT_MULTILINE_COMMENT", 
		"UNKNOWN"
	};
	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 VMFTextCommentsLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "VMFTextComments.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\6;\b\1\4\2\t\2\4"+
		"\3\t\3\4\4\t\4\4\5\t\5\3\2\3\2\3\2\3\2\7\2\20\n\2\f\2\16\2\23\13\2\3\2"+
		"\3\2\3\3\3\3\3\3\3\3\7\3\33\n\3\f\3\16\3\36\13\3\3\3\3\3\3\4\3\4\3\4\3"+
		"\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\3\4\7\4\62\n\4\f\4\16\4"+
		"\65\13\4\3\4\3\4\3\4\3\5\3\5\5\21\34\63\2\6\3\3\5\4\7\5\t\6\3\2\6\6\2"+
		"\f\f\17\17$$^^\4\2$$^^\6\2\f\f\17\17))^^\4\2))^^\2?\2\3\3\2\2\2\2\5\3"+
		"\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\3\13\3\2\2\2\5\26\3\2\2\2\7!\3\2\2\2\t"+
		"9\3\2\2\2\13\21\7$\2\2\f\20\n\2\2\2\r\16\7^\2\2\16\20\t\3\2\2\17\f\3\2"+
		"\2\2\17\r\3\2\2\2\20\23\3\2\2\2\21\22\3\2\2\2\21\17\3\2\2\2\22\24\3\2"+
		"\2\2\23\21\3\2\2\2\24\25\7$\2\2\25\4\3\2\2\2\26\34\7)\2\2\27\33\n\4\2"+
		"\2\30\31\7^\2\2\31\33\t\5\2\2\32\27\3\2\2\2\32\30\3\2\2\2\33\36\3\2\2"+
		"\2\34\35\3\2\2\2\34\32\3\2\2\2\35\37\3\2\2\2\36\34\3\2\2\2\37 \7)\2\2"+
		" \6\3\2\2\2!\"\7\61\2\2\"#\7,\2\2#$\7>\2\2$%\7#\2\2%&\7x\2\2&\'\7o\2\2"+
		"\'(\7h\2\2()\7/\2\2)*\7v\2\2*+\7g\2\2+,\7z\2\2,-\7v\2\2-.\7#\2\2./\7@"+
		"\2\2/\63\3\2\2\2\60\62\13\2\2\2\61\60\3\2\2\2\62\65\3\2\2\2\63\64\3\2"+
		"\2\2\63\61\3\2\2\2\64\66\3\2\2\2\65\63\3\2\2\2\66\67\7,\2\2\678\7\61\2"+
		"\28\b\3\2\2\29:\13\2\2\2:\n\3\2\2\2\b\2\17\21\32\34\63\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