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

com.glispa.combo.MacroParser Maven / Gradle / Ivy

The newest version!
// Generated from com/glispa/combo/Macro.g4 by ANTLR 4.5
package com.glispa.combo;
import org.antlr.v4.runtime.atn.*;
import org.antlr.v4.runtime.dfa.DFA;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.misc.*;
import org.antlr.v4.runtime.tree.*;
import java.util.List;
import java.util.Iterator;
import java.util.ArrayList;

@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast"})
public class MacroParser extends Parser {
	static { RuntimeMetaData.checkVersion("4.5", RuntimeMetaData.VERSION); }

	protected static final DFA[] _decisionToDFA;
	protected static final PredictionContextCache _sharedContextCache =
		new PredictionContextCache();
	public static final int
		BEGIN=1, END=2, PIPE=3, SP=4, ESC=5, ID_CHAR=6, OTHER_CHAR=7;
	public static final int
		RULE_template = 0, RULE_macroChain = 1, RULE_macro = 2, RULE_macroId = 3, 
		RULE_arg = 4, RULE_escEsc = 5, RULE_escSpace = 6, RULE_escPipe = 7, RULE_escEnd = 8, 
		RULE_text = 9;
	public static final String[] ruleNames = {
		"template", "macroChain", "macro", "macroId", "arg", "escEsc", "escSpace", 
		"escPipe", "escEnd", "text"
	};

	private static final String[] _LITERAL_NAMES = {
		null, "'${'", "'}'", "'|'", null, "'\\'"
	};
	private static final String[] _SYMBOLIC_NAMES = {
		null, "BEGIN", "END", "PIPE", "SP", "ESC", "ID_CHAR", "OTHER_CHAR"
	};
	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;
	}

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

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

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

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

	public MacroParser(TokenStream input) {
		super(input);
		_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
	}
	public static class TemplateContext extends ParserRuleContext {
		public TerminalNode EOF() { return getToken(MacroParser.EOF, 0); }
		public List macroChain() {
			return getRuleContexts(MacroChainContext.class);
		}
		public MacroChainContext macroChain(int i) {
			return getRuleContext(MacroChainContext.class,i);
		}
		public List text() {
			return getRuleContexts(TextContext.class);
		}
		public TextContext text(int i) {
			return getRuleContext(TextContext.class,i);
		}
		public TemplateContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_template; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterTemplate(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitTemplate(this);
		}
	}

	public final TemplateContext template() throws RecognitionException {
		TemplateContext _localctx = new TemplateContext(_ctx, getState());
		enterRule(_localctx, 0, RULE_template);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(24);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BEGIN) | (1L << END) | (1L << PIPE) | (1L << SP) | (1L << ESC) | (1L << ID_CHAR) | (1L << OTHER_CHAR))) != 0)) {
				{
				setState(22);
				switch ( getInterpreter().adaptivePredict(_input,0,_ctx) ) {
				case 1:
					{
					setState(20);
					macroChain();
					}
					break;
				case 2:
					{
					setState(21);
					text();
					}
					break;
				}
				}
				setState(26);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			setState(27);
			match(EOF);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class MacroChainContext extends ParserRuleContext {
		public TerminalNode BEGIN() { return getToken(MacroParser.BEGIN, 0); }
		public List macro() {
			return getRuleContexts(MacroContext.class);
		}
		public MacroContext macro(int i) {
			return getRuleContext(MacroContext.class,i);
		}
		public TerminalNode END() { return getToken(MacroParser.END, 0); }
		public List SP() { return getTokens(MacroParser.SP); }
		public TerminalNode SP(int i) {
			return getToken(MacroParser.SP, i);
		}
		public List PIPE() { return getTokens(MacroParser.PIPE); }
		public TerminalNode PIPE(int i) {
			return getToken(MacroParser.PIPE, i);
		}
		public MacroChainContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_macroChain; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterMacroChain(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitMacroChain(this);
		}
	}

	public final MacroChainContext macroChain() throws RecognitionException {
		MacroChainContext _localctx = new MacroChainContext(_ctx, getState());
		enterRule(_localctx, 2, RULE_macroChain);
		int _la;
		try {
			int _alt;
			enterOuterAlt(_localctx, 1);
			{
			setState(29);
			match(BEGIN);
			setState(33);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while (_la==SP) {
				{
				{
				setState(30);
				match(SP);
				}
				}
				setState(35);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			setState(36);
			macro();
			setState(53);
			_errHandler.sync(this);
			_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
			while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					setState(40);
					_errHandler.sync(this);
					_la = _input.LA(1);
					while (_la==SP) {
						{
						{
						setState(37);
						match(SP);
						}
						}
						setState(42);
						_errHandler.sync(this);
						_la = _input.LA(1);
					}
					setState(43);
					match(PIPE);
					setState(47);
					_errHandler.sync(this);
					_la = _input.LA(1);
					while (_la==SP) {
						{
						{
						setState(44);
						match(SP);
						}
						}
						setState(49);
						_errHandler.sync(this);
						_la = _input.LA(1);
					}
					setState(50);
					macro();
					}
					} 
				}
				setState(55);
				_errHandler.sync(this);
				_alt = getInterpreter().adaptivePredict(_input,5,_ctx);
			}
			setState(59);
			_errHandler.sync(this);
			_la = _input.LA(1);
			while (_la==SP) {
				{
				{
				setState(56);
				match(SP);
				}
				}
				setState(61);
				_errHandler.sync(this);
				_la = _input.LA(1);
			}
			setState(62);
			match(END);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class MacroContext extends ParserRuleContext {
		public MacroIdContext macroId() {
			return getRuleContext(MacroIdContext.class,0);
		}
		public List arg() {
			return getRuleContexts(ArgContext.class);
		}
		public ArgContext arg(int i) {
			return getRuleContext(ArgContext.class,i);
		}
		public List SP() { return getTokens(MacroParser.SP); }
		public TerminalNode SP(int i) {
			return getToken(MacroParser.SP, i);
		}
		public MacroContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_macro; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterMacro(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitMacro(this);
		}
	}

	public final MacroContext macro() throws RecognitionException {
		MacroContext _localctx = new MacroContext(_ctx, getState());
		enterRule(_localctx, 4, RULE_macro);
		int _la;
		try {
			int _alt;
			enterOuterAlt(_localctx, 1);
			{
			setState(64);
			macroId();
			setState(73);
			_errHandler.sync(this);
			_alt = getInterpreter().adaptivePredict(_input,8,_ctx);
			while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
				if ( _alt==1 ) {
					{
					{
					setState(66); 
					_errHandler.sync(this);
					_la = _input.LA(1);
					do {
						{
						{
						setState(65);
						match(SP);
						}
						}
						setState(68); 
						_errHandler.sync(this);
						_la = _input.LA(1);
					} while ( _la==SP );
					setState(70);
					arg();
					}
					} 
				}
				setState(75);
				_errHandler.sync(this);
				_alt = getInterpreter().adaptivePredict(_input,8,_ctx);
			}
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class MacroIdContext extends ParserRuleContext {
		public List ID_CHAR() { return getTokens(MacroParser.ID_CHAR); }
		public TerminalNode ID_CHAR(int i) {
			return getToken(MacroParser.ID_CHAR, i);
		}
		public MacroIdContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_macroId; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterMacroId(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitMacroId(this);
		}
	}

	public final MacroIdContext macroId() throws RecognitionException {
		MacroIdContext _localctx = new MacroIdContext(_ctx, getState());
		enterRule(_localctx, 6, RULE_macroId);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(77); 
			_errHandler.sync(this);
			_la = _input.LA(1);
			do {
				{
				{
				setState(76);
				match(ID_CHAR);
				}
				}
				setState(79); 
				_errHandler.sync(this);
				_la = _input.LA(1);
			} while ( _la==ID_CHAR );
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class ArgContext extends ParserRuleContext {
		public List OTHER_CHAR() { return getTokens(MacroParser.OTHER_CHAR); }
		public TerminalNode OTHER_CHAR(int i) {
			return getToken(MacroParser.OTHER_CHAR, i);
		}
		public List ID_CHAR() { return getTokens(MacroParser.ID_CHAR); }
		public TerminalNode ID_CHAR(int i) {
			return getToken(MacroParser.ID_CHAR, i);
		}
		public List BEGIN() { return getTokens(MacroParser.BEGIN); }
		public TerminalNode BEGIN(int i) {
			return getToken(MacroParser.BEGIN, i);
		}
		public List escSpace() {
			return getRuleContexts(EscSpaceContext.class);
		}
		public EscSpaceContext escSpace(int i) {
			return getRuleContext(EscSpaceContext.class,i);
		}
		public List escPipe() {
			return getRuleContexts(EscPipeContext.class);
		}
		public EscPipeContext escPipe(int i) {
			return getRuleContext(EscPipeContext.class,i);
		}
		public List escEnd() {
			return getRuleContexts(EscEndContext.class);
		}
		public EscEndContext escEnd(int i) {
			return getRuleContext(EscEndContext.class,i);
		}
		public List escEsc() {
			return getRuleContexts(EscEscContext.class);
		}
		public EscEscContext escEsc(int i) {
			return getRuleContext(EscEscContext.class,i);
		}
		public ArgContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_arg; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterArg(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitArg(this);
		}
	}

	public final ArgContext arg() throws RecognitionException {
		ArgContext _localctx = new ArgContext(_ctx, getState());
		enterRule(_localctx, 8, RULE_arg);
		int _la;
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(88); 
			_errHandler.sync(this);
			_la = _input.LA(1);
			do {
				{
				setState(88);
				switch ( getInterpreter().adaptivePredict(_input,10,_ctx) ) {
				case 1:
					{
					setState(81);
					match(OTHER_CHAR);
					}
					break;
				case 2:
					{
					setState(82);
					match(ID_CHAR);
					}
					break;
				case 3:
					{
					setState(83);
					match(BEGIN);
					}
					break;
				case 4:
					{
					setState(84);
					escSpace();
					}
					break;
				case 5:
					{
					setState(85);
					escPipe();
					}
					break;
				case 6:
					{
					setState(86);
					escEnd();
					}
					break;
				case 7:
					{
					setState(87);
					escEsc();
					}
					break;
				}
				}
				setState(90); 
				_errHandler.sync(this);
				_la = _input.LA(1);
			} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BEGIN) | (1L << ESC) | (1L << ID_CHAR) | (1L << OTHER_CHAR))) != 0) );
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class EscEscContext extends ParserRuleContext {
		public List ESC() { return getTokens(MacroParser.ESC); }
		public TerminalNode ESC(int i) {
			return getToken(MacroParser.ESC, i);
		}
		public EscEscContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_escEsc; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterEscEsc(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitEscEsc(this);
		}
	}

	public final EscEscContext escEsc() throws RecognitionException {
		EscEscContext _localctx = new EscEscContext(_ctx, getState());
		enterRule(_localctx, 10, RULE_escEsc);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(92);
			match(ESC);
			setState(93);
			match(ESC);
			 ((WritableToken)_localctx.start).setText(""); 
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class EscSpaceContext extends ParserRuleContext {
		public TerminalNode ESC() { return getToken(MacroParser.ESC, 0); }
		public TerminalNode SP() { return getToken(MacroParser.SP, 0); }
		public EscSpaceContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_escSpace; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterEscSpace(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitEscSpace(this);
		}
	}

	public final EscSpaceContext escSpace() throws RecognitionException {
		EscSpaceContext _localctx = new EscSpaceContext(_ctx, getState());
		enterRule(_localctx, 12, RULE_escSpace);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(96);
			match(ESC);
			setState(97);
			match(SP);
			 ((WritableToken)_localctx.start).setText(""); 
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class EscPipeContext extends ParserRuleContext {
		public TerminalNode ESC() { return getToken(MacroParser.ESC, 0); }
		public TerminalNode PIPE() { return getToken(MacroParser.PIPE, 0); }
		public EscPipeContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_escPipe; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterEscPipe(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitEscPipe(this);
		}
	}

	public final EscPipeContext escPipe() throws RecognitionException {
		EscPipeContext _localctx = new EscPipeContext(_ctx, getState());
		enterRule(_localctx, 14, RULE_escPipe);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(100);
			match(ESC);
			setState(101);
			match(PIPE);
			 ((WritableToken)_localctx.start).setText(""); 
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class EscEndContext extends ParserRuleContext {
		public TerminalNode ESC() { return getToken(MacroParser.ESC, 0); }
		public TerminalNode END() { return getToken(MacroParser.END, 0); }
		public EscEndContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_escEnd; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterEscEnd(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitEscEnd(this);
		}
	}

	public final EscEndContext escEnd() throws RecognitionException {
		EscEndContext _localctx = new EscEndContext(_ctx, getState());
		enterRule(_localctx, 16, RULE_escEnd);
		try {
			enterOuterAlt(_localctx, 1);
			{
			setState(104);
			match(ESC);
			setState(105);
			match(END);
			 ((WritableToken)_localctx.start).setText(""); 
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static class TextContext extends ParserRuleContext {
		public TerminalNode BEGIN() { return getToken(MacroParser.BEGIN, 0); }
		public List OTHER_CHAR() { return getTokens(MacroParser.OTHER_CHAR); }
		public TerminalNode OTHER_CHAR(int i) {
			return getToken(MacroParser.OTHER_CHAR, i);
		}
		public List SP() { return getTokens(MacroParser.SP); }
		public TerminalNode SP(int i) {
			return getToken(MacroParser.SP, i);
		}
		public List ESC() { return getTokens(MacroParser.ESC); }
		public TerminalNode ESC(int i) {
			return getToken(MacroParser.ESC, i);
		}
		public List ID_CHAR() { return getTokens(MacroParser.ID_CHAR); }
		public TerminalNode ID_CHAR(int i) {
			return getToken(MacroParser.ID_CHAR, i);
		}
		public List PIPE() { return getTokens(MacroParser.PIPE); }
		public TerminalNode PIPE(int i) {
			return getToken(MacroParser.PIPE, i);
		}
		public List END() { return getTokens(MacroParser.END); }
		public TerminalNode END(int i) {
			return getToken(MacroParser.END, i);
		}
		public TextContext(ParserRuleContext parent, int invokingState) {
			super(parent, invokingState);
		}
		@Override public int getRuleIndex() { return RULE_text; }
		@Override
		public void enterRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).enterText(this);
		}
		@Override
		public void exitRule(ParseTreeListener listener) {
			if ( listener instanceof MacroListener ) ((MacroListener)listener).exitText(this);
		}
	}

	public final TextContext text() throws RecognitionException {
		TextContext _localctx = new TextContext(_ctx, getState());
		enterRule(_localctx, 18, RULE_text);
		int _la;
		try {
			int _alt;
			setState(120);
			switch (_input.LA(1)) {
			case BEGIN:
				enterOuterAlt(_localctx, 1);
				{
				{
				setState(108);
				match(BEGIN);
				setState(112);
				_errHandler.sync(this);
				_alt = getInterpreter().adaptivePredict(_input,12,_ctx);
				while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
					if ( _alt==1 ) {
						{
						{
						setState(109);
						_la = _input.LA(1);
						if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << PIPE) | (1L << SP) | (1L << ESC) | (1L << ID_CHAR) | (1L << OTHER_CHAR))) != 0)) ) {
						_errHandler.recoverInline(this);
						} else {
							consume();
						}
						}
						} 
					}
					setState(114);
					_errHandler.sync(this);
					_alt = getInterpreter().adaptivePredict(_input,12,_ctx);
				}
				}
				}
				break;
			case END:
			case PIPE:
			case SP:
			case ESC:
			case ID_CHAR:
			case OTHER_CHAR:
				enterOuterAlt(_localctx, 2);
				{
				setState(116); 
				_errHandler.sync(this);
				_alt = 1;
				do {
					switch (_alt) {
					case 1:
						{
						{
						setState(115);
						_la = _input.LA(1);
						if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << END) | (1L << PIPE) | (1L << SP) | (1L << ESC) | (1L << ID_CHAR) | (1L << OTHER_CHAR))) != 0)) ) {
						_errHandler.recoverInline(this);
						} else {
							consume();
						}
						}
						}
						break;
					default:
						throw new NoViableAltException(this);
					}
					setState(118); 
					_errHandler.sync(this);
					_alt = getInterpreter().adaptivePredict(_input,13,_ctx);
				} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
				}
				break;
			default:
				throw new NoViableAltException(this);
			}
		}
		catch (RecognitionException re) {
			_localctx.exception = re;
			_errHandler.reportError(this, re);
			_errHandler.recover(this, re);
		}
		finally {
			exitRule();
		}
		return _localctx;
	}

	public static final String _serializedATN =
		"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3\t}\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\3"+
		"\2\3\2\7\2\31\n\2\f\2\16\2\34\13\2\3\2\3\2\3\3\3\3\7\3\"\n\3\f\3\16\3"+
		"%\13\3\3\3\3\3\7\3)\n\3\f\3\16\3,\13\3\3\3\3\3\7\3\60\n\3\f\3\16\3\63"+
		"\13\3\3\3\7\3\66\n\3\f\3\16\39\13\3\3\3\7\3<\n\3\f\3\16\3?\13\3\3\3\3"+
		"\3\3\4\3\4\6\4E\n\4\r\4\16\4F\3\4\7\4J\n\4\f\4\16\4M\13\4\3\5\6\5P\n\5"+
		"\r\5\16\5Q\3\6\3\6\3\6\3\6\3\6\3\6\3\6\6\6[\n\6\r\6\16\6\\\3\7\3\7\3\7"+
		"\3\7\3\b\3\b\3\b\3\b\3\t\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\13\3\13\7\13q\n"+
		"\13\f\13\16\13t\13\13\3\13\6\13w\n\13\r\13\16\13x\5\13{\n\13\3\13\2\2"+
		"\f\2\4\6\b\n\f\16\20\22\24\2\4\3\2\5\t\3\2\4\t\u0086\2\32\3\2\2\2\4\37"+
		"\3\2\2\2\6B\3\2\2\2\bO\3\2\2\2\nZ\3\2\2\2\f^\3\2\2\2\16b\3\2\2\2\20f\3"+
		"\2\2\2\22j\3\2\2\2\24z\3\2\2\2\26\31\5\4\3\2\27\31\5\24\13\2\30\26\3\2"+
		"\2\2\30\27\3\2\2\2\31\34\3\2\2\2\32\30\3\2\2\2\32\33\3\2\2\2\33\35\3\2"+
		"\2\2\34\32\3\2\2\2\35\36\7\2\2\3\36\3\3\2\2\2\37#\7\3\2\2 \"\7\6\2\2!"+
		" \3\2\2\2\"%\3\2\2\2#!\3\2\2\2#$\3\2\2\2$&\3\2\2\2%#\3\2\2\2&\67\5\6\4"+
		"\2\')\7\6\2\2(\'\3\2\2\2),\3\2\2\2*(\3\2\2\2*+\3\2\2\2+-\3\2\2\2,*\3\2"+
		"\2\2-\61\7\5\2\2.\60\7\6\2\2/.\3\2\2\2\60\63\3\2\2\2\61/\3\2\2\2\61\62"+
		"\3\2\2\2\62\64\3\2\2\2\63\61\3\2\2\2\64\66\5\6\4\2\65*\3\2\2\2\669\3\2"+
		"\2\2\67\65\3\2\2\2\678\3\2\2\28=\3\2\2\29\67\3\2\2\2:<\7\6\2\2;:\3\2\2"+
		"\2\3\2\2\2>@\3\2\2\2?=\3\2\2\2@A\7\4\2\2A\5\3\2"+
		"\2\2BK\5\b\5\2CE\7\6\2\2DC\3\2\2\2EF\3\2\2\2FD\3\2\2\2FG\3\2\2\2GH\3\2"+
		"\2\2HJ\5\n\6\2ID\3\2\2\2JM\3\2\2\2KI\3\2\2\2KL\3\2\2\2L\7\3\2\2\2MK\3"+
		"\2\2\2NP\7\b\2\2ON\3\2\2\2PQ\3\2\2\2QO\3\2\2\2QR\3\2\2\2R\t\3\2\2\2S["+
		"\7\t\2\2T[\7\b\2\2U[\7\3\2\2V[\5\16\b\2W[\5\20\t\2X[\5\22\n\2Y[\5\f\7"+
		"\2ZS\3\2\2\2ZT\3\2\2\2ZU\3\2\2\2ZV\3\2\2\2ZW\3\2\2\2ZX\3\2\2\2ZY\3\2\2"+
		"\2[\\\3\2\2\2\\Z\3\2\2\2\\]\3\2\2\2]\13\3\2\2\2^_\7\7\2\2_`\7\7\2\2`a"+
		"\b\7\1\2a\r\3\2\2\2bc\7\7\2\2cd\7\6\2\2de\b\b\1\2e\17\3\2\2\2fg\7\7\2"+
		"\2gh\7\5\2\2hi\b\t\1\2i\21\3\2\2\2jk\7\7\2\2kl\7\4\2\2lm\b\n\1\2m\23\3"+
		"\2\2\2nr\7\3\2\2oq\t\2\2\2po\3\2\2\2qt\3\2\2\2rp\3\2\2\2rs\3\2\2\2s{\3"+
		"\2\2\2tr\3\2\2\2uw\t\3\2\2vu\3\2\2\2wx\3\2\2\2xv\3\2\2\2xy\3\2\2\2y{\3"+
		"\2\2\2zn\3\2\2\2zv\3\2\2\2{\25\3\2\2\2\21\30\32#*\61\67=FKQZ\\rxz";
	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