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

com.inrupt.client.parser.LinkLexer Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
// Generated from com/inrupt/client/parser/Link.g4 by ANTLR 4.13.0
package com.inrupt.client.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", "CheckReturnValue"})
public class LinkLexer extends Lexer {
	static { RuntimeMetaData.checkVersion("4.13.0", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		T__0=1, T__1=2, UriReference=3, LinkParam=4, WS=5;
	public static String[] channelNames = {
		"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
	};

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

	private static String[] makeRuleNames() {
		return new String[] {
			"T__0", "T__1", "UriReference", "UriChar", "LinkParam", "ObsText", "Qdtext", 
			"QuotedPair", "QuotedString", "Tchar", "Token", "WS", "SP", "DQUOTE", 
			"HTAB", "DIGIT", "ALPHA", "VCHAR"
		};
	}
	public static final String[] ruleNames = makeRuleNames();

	private static String[] makeLiteralNames() {
		return new String[] {
			null, "','", "';'"
		};
	}
	private static final String[] _LITERAL_NAMES = makeLiteralNames();
	private static String[] makeSymbolicNames() {
		return new String[] {
			null, null, null, "UriReference", "LinkParam", "WS"
		};
	}
	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 LinkLexer(CharStream input) {
		super(input);
		_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}

	@Override
	public String getGrammarFileName() { return "Link.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 =
		"\u0004\u0000\u0005p\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
		"\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
		"\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
		"\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+
		"\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e\u0002"+
		"\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011\u0001"+
		"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0004"+
		"\u0002,\b\u0002\u000b\u0002\f\u0002-\u0001\u0002\u0001\u0002\u0001\u0003"+
		"\u0001\u0003\u0003\u00034\b\u0003\u0001\u0004\u0001\u0004\u0001\u0004"+
		"\u0001\u0004\u0003\u0004:\b\u0004\u0001\u0005\u0001\u0005\u0001\u0006"+
		"\u0001\u0006\u0001\u0006\u0001\u0006\u0003\u0006B\b\u0006\u0001\u0007"+
		"\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0003\u0007I\b\u0007"+
		"\u0001\b\u0001\b\u0001\b\u0005\bN\b\b\n\b\f\bQ\t\b\u0001\b\u0001\b\u0001"+
		"\t\u0001\t\u0001\t\u0003\tX\b\t\u0001\n\u0004\n[\b\n\u000b\n\f\n\\\u0001"+
		"\u000b\u0001\u000b\u0004\u000ba\b\u000b\u000b\u000b\f\u000bb\u0001\f\u0001"+
		"\f\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001"+
		"\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0000\u0000\u0012\u0001\u0001"+
		"\u0003\u0002\u0005\u0003\u0007\u0000\t\u0004\u000b\u0000\r\u0000\u000f"+
		"\u0000\u0011\u0000\u0013\u0000\u0015\u0000\u0017\u0005\u0019\u0000\u001b"+
		"\u0000\u001d\u0000\u001f\u0000!\u0000#\u0000\u0001\u0000\u0003\u0003\u0000"+
		"!!#[]~\u0007\u0000!!#\'*+-.^`||~~\u0002\u0000AZazr\u0000\u0001\u0001\u0000"+
		"\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000"+
		"\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000\u0017\u0001\u0000\u0000"+
		"\u0000\u0001%\u0001\u0000\u0000\u0000\u0003\'\u0001\u0000\u0000\u0000"+
		"\u0005)\u0001\u0000\u0000\u0000\u00073\u0001\u0000\u0000\u0000\t5\u0001"+
		"\u0000\u0000\u0000\u000b;\u0001\u0000\u0000\u0000\rA\u0001\u0000\u0000"+
		"\u0000\u000fC\u0001\u0000\u0000\u0000\u0011J\u0001\u0000\u0000\u0000\u0013"+
		"W\u0001\u0000\u0000\u0000\u0015Z\u0001\u0000\u0000\u0000\u0017`\u0001"+
		"\u0000\u0000\u0000\u0019d\u0001\u0000\u0000\u0000\u001bf\u0001\u0000\u0000"+
		"\u0000\u001dh\u0001\u0000\u0000\u0000\u001fj\u0001\u0000\u0000\u0000!"+
		"l\u0001\u0000\u0000\u0000#n\u0001\u0000\u0000\u0000%&\u0005,\u0000\u0000"+
		"&\u0002\u0001\u0000\u0000\u0000\'(\u0005;\u0000\u0000(\u0004\u0001\u0000"+
		"\u0000\u0000)+\u0005<\u0000\u0000*,\u0003\u0007\u0003\u0000+*\u0001\u0000"+
		"\u0000\u0000,-\u0001\u0000\u0000\u0000-+\u0001\u0000\u0000\u0000-.\u0001"+
		"\u0000\u0000\u0000./\u0001\u0000\u0000\u0000/0\u0005>\u0000\u00000\u0006"+
		"\u0001\u0000\u0000\u000014\u0002!~\u000024\u0003\u000b\u0005\u000031\u0001"+
		"\u0000\u0000\u000032\u0001\u0000\u0000\u00004\b\u0001\u0000\u0000\u0000"+
		"56\u0003\u0015\n\u000069\u0005=\u0000\u00007:\u0003\u0015\n\u00008:\u0003"+
		"\u0011\b\u000097\u0001\u0000\u0000\u000098\u0001\u0000\u0000\u0000:\n"+
		"\u0001\u0000\u0000\u0000;<\u0002\u0080\u8000\uffff\u0000<\f\u0001\u0000"+
		"\u0000\u0000=B\u0003\u001d\u000e\u0000>B\u0003\u0019\f\u0000?B\u0007\u0000"+
		"\u0000\u0000@B\u0003\u000b\u0005\u0000A=\u0001\u0000\u0000\u0000A>\u0001"+
		"\u0000\u0000\u0000A?\u0001\u0000\u0000\u0000A@\u0001\u0000\u0000\u0000"+
		"B\u000e\u0001\u0000\u0000\u0000CH\u0005\\\u0000\u0000DI\u0003\u001d\u000e"+
		"\u0000EI\u0003\u0019\f\u0000FI\u0003#\u0011\u0000GI\u0003\u000b\u0005"+
		"\u0000HD\u0001\u0000\u0000\u0000HE\u0001\u0000\u0000\u0000HF\u0001\u0000"+
		"\u0000\u0000HG\u0001\u0000\u0000\u0000I\u0010\u0001\u0000\u0000\u0000"+
		"JO\u0003\u001b\r\u0000KN\u0003\r\u0006\u0000LN\u0003\u000f\u0007\u0000"+
		"MK\u0001\u0000\u0000\u0000ML\u0001\u0000\u0000\u0000NQ\u0001\u0000\u0000"+
		"\u0000OM\u0001\u0000\u0000\u0000OP\u0001\u0000\u0000\u0000PR\u0001\u0000"+
		"\u0000\u0000QO\u0001\u0000\u0000\u0000RS\u0003\u001b\r\u0000S\u0012\u0001"+
		"\u0000\u0000\u0000TX\u0007\u0001\u0000\u0000UX\u0003\u001f\u000f\u0000"+
		"VX\u0003!\u0010\u0000WT\u0001\u0000\u0000\u0000WU\u0001\u0000\u0000\u0000"+
		"WV\u0001\u0000\u0000\u0000X\u0014\u0001\u0000\u0000\u0000Y[\u0003\u0013"+
		"\t\u0000ZY\u0001\u0000\u0000\u0000[\\\u0001\u0000\u0000\u0000\\Z\u0001"+
		"\u0000\u0000\u0000\\]\u0001\u0000\u0000\u0000]\u0016\u0001\u0000\u0000"+
		"\u0000^a\u0003\u0019\f\u0000_a\u0003\u001d\u000e\u0000`^\u0001\u0000\u0000"+
		"\u0000`_\u0001\u0000\u0000\u0000ab\u0001\u0000\u0000\u0000b`\u0001\u0000"+
		"\u0000\u0000bc\u0001\u0000\u0000\u0000c\u0018\u0001\u0000\u0000\u0000"+
		"de\u0005 \u0000\u0000e\u001a\u0001\u0000\u0000\u0000fg\u0005\"\u0000\u0000"+
		"g\u001c\u0001\u0000\u0000\u0000hi\u0005\t\u0000\u0000i\u001e\u0001\u0000"+
		"\u0000\u0000jk\u000209\u0000k \u0001\u0000\u0000\u0000lm\u0007\u0002\u0000"+
		"\u0000m\"\u0001\u0000\u0000\u0000no\u0002!~\u0000o$\u0001\u0000\u0000"+
		"\u0000\f\u0000-39AHMOW\\`b\u0000";
	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