liquid.parser.v4.LiquidParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liqp Show documentation
Show all versions of liqp Show documentation
A Java implementation of the Liquid templating engine backed up by an ANTLR grammar.
// Generated from liquid/parser/v4/LiquidParser.g4 by ANTLR 4.7.2
package liquid.parser.v4;
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 LiquidParser extends Parser {
static { RuntimeMetaData.checkVersion("4.7.2", RuntimeMetaData.VERSION); }
protected static final DFA[] _decisionToDFA;
protected static final PredictionContextCache _sharedContextCache =
new PredictionContextCache();
public static final int
BlockId=1, EndBlockId=2, SimpleTagId=3, InvalidEndBlockId=4, MisMatchedEndBlockId=5,
OutStart=6, TagStart=7, Other=8, OutStart2=9, OutEnd=10, TagEnd=11, Str=12,
DotDot=13, Dot=14, NEq=15, Eq=16, EqSign=17, GtEq=18, Gt=19, LtEq=20,
Lt=21, Minus=22, Pipe=23, Col=24, Comma=25, OPar=26, CPar=27, OBr=28,
CBr=29, QMark=30, PathSep=31, DoubleNum=32, LongNum=33, WS=34, Contains=35,
In=36, And=37, Or=38, True=39, False=40, Nil=41, With=42, Offset=43, Continue=44,
Reversed=45, Empty=46, Blank=47, IdChain=48, Id=49, WS2=50, InvalidEndTag=51,
CaptureStart=52, CaptureEnd=53, CommentStart=54, CommentEnd=55, RawStart=56,
IfStart=57, Elsif=58, IfEnd=59, UnlessStart=60, UnlessEnd=61, Else=62,
CaseStart=63, CaseEnd=64, When=65, Cycle=66, ForStart=67, ForEnd=68, TableStart=69,
TableEnd=70, Assign=71, Include=72, InvalidTagId=73, RawEnd=74, OtherRaw=75;
public static final int
RULE_parse = 0, RULE_block = 1, RULE_atom = 2, RULE_tag = 3, RULE_continue_tag = 4,
RULE_other_tag = 5, RULE_error_other_tag = 6, RULE_simple_tag = 7, RULE_raw_tag = 8,
RULE_raw_body = 9, RULE_comment_tag = 10, RULE_other_than_tag_start = 11,
RULE_if_tag = 12, RULE_elsif_tag = 13, RULE_else_tag = 14, RULE_unless_tag = 15,
RULE_case_tag = 16, RULE_when_tag = 17, RULE_cycle_tag = 18, RULE_cycle_group = 19,
RULE_for_tag = 20, RULE_for_array = 21, RULE_for_range = 22, RULE_for_block = 23,
RULE_for_attribute = 24, RULE_attribute = 25, RULE_table_tag = 26, RULE_capture_tag = 27,
RULE_include_tag = 28, RULE_file_name_or_output = 29, RULE_jekyll_include_params = 30,
RULE_output = 31, RULE_filter = 32, RULE_params = 33, RULE_param_expr = 34,
RULE_assignment = 35, RULE_expr = 36, RULE_term = 37, RULE_lookup = 38,
RULE_id = 39, RULE_id2 = 40, RULE_index = 41, RULE_other_tag_parameters = 42,
RULE_other_than_tag_end = 43, RULE_filename = 44, RULE_outStart = 45,
RULE_other = 46;
private static String[] makeRuleNames() {
return new String[] {
"parse", "block", "atom", "tag", "continue_tag", "other_tag", "error_other_tag",
"simple_tag", "raw_tag", "raw_body", "comment_tag", "other_than_tag_start",
"if_tag", "elsif_tag", "else_tag", "unless_tag", "case_tag", "when_tag",
"cycle_tag", "cycle_group", "for_tag", "for_array", "for_range", "for_block",
"for_attribute", "attribute", "table_tag", "capture_tag", "include_tag",
"file_name_or_output", "jekyll_include_params", "output", "filter", "params",
"param_expr", "assignment", "expr", "term", "lookup", "id", "id2", "index",
"other_tag_parameters", "other_than_tag_end", "filename", "outStart",
"other"
};
}
public static final String[] ruleNames = makeRuleNames();
private static String[] makeLiteralNames() {
return new String[] {
null, null, null, null, null, null, null, null, null, "'{{'", null, null,
null, "'..'", "'.'", null, "'=='", "'='", "'>='", "'>'", "'<='", "'<'",
"'-'", "'|'", "':'", "','", "'('", "')'", "'['", "']'", "'?'", null,
null, null, null, "'contains'", "'in'", "'and'", "'or'", "'true'", "'false'",
null, "'with'", "'offset'", "'continue'", "'reversed'", "'empty'", "'blank'",
null, null, null, null, "'capture'", "'endcapture'", "'comment'", "'endcomment'",
null, "'if'", "'elsif'", "'endif'", "'unless'", "'endunless'", "'else'",
"'case'", "'endcase'", "'when'", "'cycle'", "'for'", "'endfor'", "'tablerow'",
"'endtablerow'", "'assign'", "'include'"
};
}
private static final String[] _LITERAL_NAMES = makeLiteralNames();
private static String[] makeSymbolicNames() {
return new String[] {
null, "BlockId", "EndBlockId", "SimpleTagId", "InvalidEndBlockId", "MisMatchedEndBlockId",
"OutStart", "TagStart", "Other", "OutStart2", "OutEnd", "TagEnd", "Str",
"DotDot", "Dot", "NEq", "Eq", "EqSign", "GtEq", "Gt", "LtEq", "Lt", "Minus",
"Pipe", "Col", "Comma", "OPar", "CPar", "OBr", "CBr", "QMark", "PathSep",
"DoubleNum", "LongNum", "WS", "Contains", "In", "And", "Or", "True",
"False", "Nil", "With", "Offset", "Continue", "Reversed", "Empty", "Blank",
"IdChain", "Id", "WS2", "InvalidEndTag", "CaptureStart", "CaptureEnd",
"CommentStart", "CommentEnd", "RawStart", "IfStart", "Elsif", "IfEnd",
"UnlessStart", "UnlessEnd", "Else", "CaseStart", "CaseEnd", "When", "Cycle",
"ForStart", "ForEnd", "TableStart", "TableEnd", "Assign", "Include",
"InvalidTagId", "RawEnd", "OtherRaw"
};
}
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;
}
@Override
public String getGrammarFileName() { return "LiquidParser.g4"; }
@Override
public String[] getRuleNames() { return ruleNames; }
@Override
public String getSerializedATN() { return _serializedATN; }
@Override
public ATN getATN() { return _ATN; }
private boolean isLiquid = true;
private boolean isLiquid(){
return isLiquid;
}
private boolean isJekyll(){
return !isLiquid;
}
public LiquidParser(TokenStream input, boolean isLiquid) {
this(input);
this.isLiquid = isLiquid;
}
public void reportTokenError(String message, Token token) {
notifyErrorListeners(token, message + ": '" + token.getText() + "'", null);
}
public void reportTokenError(String message) {
notifyErrorListeners(message);
}
public LiquidParser(TokenStream input) {
super(input);
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
}
public static class ParseContext extends ParserRuleContext {
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode EOF() { return getToken(LiquidParser.EOF, 0); }
public ParseContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_parse; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterParse(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitParse(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitParse(this);
else return visitor.visitChildren(this);
}
}
public final ParseContext parse() throws RecognitionException {
ParseContext _localctx = new ParseContext(_ctx, getState());
enterRule(_localctx, 0, RULE_parse);
try {
enterOuterAlt(_localctx, 1);
{
setState(94);
block();
setState(95);
match(EOF);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class BlockContext extends ParserRuleContext {
public List atom() {
return getRuleContexts(AtomContext.class);
}
public AtomContext atom(int i) {
return getRuleContext(AtomContext.class,i);
}
public BlockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_block; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterBlock(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitBlock(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitBlock(this);
else return visitor.visitChildren(this);
}
}
public final BlockContext block() throws RecognitionException {
BlockContext _localctx = new BlockContext(_ctx, getState());
enterRule(_localctx, 2, RULE_block);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(100);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,0,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(97);
atom();
}
}
}
setState(102);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,0,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AtomContext extends ParserRuleContext {
public AtomContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_atom; }
public AtomContext() { }
public void copyFrom(AtomContext ctx) {
super.copyFrom(ctx);
}
}
public static class Atom_outputContext extends AtomContext {
public OutputContext output() {
return getRuleContext(OutputContext.class,0);
}
public Atom_outputContext(AtomContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAtom_output(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAtom_output(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAtom_output(this);
else return visitor.visitChildren(this);
}
}
public static class Atom_assignmentContext extends AtomContext {
public AssignmentContext assignment() {
return getRuleContext(AssignmentContext.class,0);
}
public Atom_assignmentContext(AtomContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAtom_assignment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAtom_assignment(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAtom_assignment(this);
else return visitor.visitChildren(this);
}
}
public static class Atom_tagContext extends AtomContext {
public TagContext tag() {
return getRuleContext(TagContext.class,0);
}
public Atom_tagContext(AtomContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAtom_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAtom_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAtom_tag(this);
else return visitor.visitChildren(this);
}
}
public static class Atom_othersContext extends AtomContext {
public OtherContext other() {
return getRuleContext(OtherContext.class,0);
}
public Atom_othersContext(AtomContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAtom_others(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAtom_others(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAtom_others(this);
else return visitor.visitChildren(this);
}
}
public final AtomContext atom() throws RecognitionException {
AtomContext _localctx = new AtomContext(_ctx, getState());
enterRule(_localctx, 4, RULE_atom);
try {
setState(107);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,1,_ctx) ) {
case 1:
_localctx = new Atom_tagContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(103);
tag();
}
break;
case 2:
_localctx = new Atom_outputContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(104);
output();
}
break;
case 3:
_localctx = new Atom_assignmentContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(105);
assignment();
}
break;
case 4:
_localctx = new Atom_othersContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(106);
other();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class TagContext extends ParserRuleContext {
public Raw_tagContext raw_tag() {
return getRuleContext(Raw_tagContext.class,0);
}
public Comment_tagContext comment_tag() {
return getRuleContext(Comment_tagContext.class,0);
}
public If_tagContext if_tag() {
return getRuleContext(If_tagContext.class,0);
}
public Unless_tagContext unless_tag() {
return getRuleContext(Unless_tagContext.class,0);
}
public Case_tagContext case_tag() {
return getRuleContext(Case_tagContext.class,0);
}
public Cycle_tagContext cycle_tag() {
return getRuleContext(Cycle_tagContext.class,0);
}
public For_tagContext for_tag() {
return getRuleContext(For_tagContext.class,0);
}
public Table_tagContext table_tag() {
return getRuleContext(Table_tagContext.class,0);
}
public Capture_tagContext capture_tag() {
return getRuleContext(Capture_tagContext.class,0);
}
public Include_tagContext include_tag() {
return getRuleContext(Include_tagContext.class,0);
}
public Continue_tagContext continue_tag() {
return getRuleContext(Continue_tagContext.class,0);
}
public Other_tagContext other_tag() {
return getRuleContext(Other_tagContext.class,0);
}
public Simple_tagContext simple_tag() {
return getRuleContext(Simple_tagContext.class,0);
}
public TagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTag(this);
else return visitor.visitChildren(this);
}
}
public final TagContext tag() throws RecognitionException {
TagContext _localctx = new TagContext(_ctx, getState());
enterRule(_localctx, 6, RULE_tag);
try {
setState(122);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,2,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(109);
raw_tag();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(110);
comment_tag();
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(111);
if_tag();
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(112);
unless_tag();
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(113);
case_tag();
}
break;
case 6:
enterOuterAlt(_localctx, 6);
{
setState(114);
cycle_tag();
}
break;
case 7:
enterOuterAlt(_localctx, 7);
{
setState(115);
for_tag();
}
break;
case 8:
enterOuterAlt(_localctx, 8);
{
setState(116);
table_tag();
}
break;
case 9:
enterOuterAlt(_localctx, 9);
{
setState(117);
capture_tag();
}
break;
case 10:
enterOuterAlt(_localctx, 10);
{
setState(118);
include_tag();
}
break;
case 11:
enterOuterAlt(_localctx, 11);
{
setState(119);
continue_tag();
}
break;
case 12:
enterOuterAlt(_localctx, 12);
{
setState(120);
other_tag();
}
break;
case 13:
enterOuterAlt(_localctx, 13);
{
setState(121);
simple_tag();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Continue_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Continue() { return getToken(LiquidParser.Continue, 0); }
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public Continue_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_continue_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterContinue_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitContinue_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitContinue_tag(this);
else return visitor.visitChildren(this);
}
}
public final Continue_tagContext continue_tag() throws RecognitionException {
Continue_tagContext _localctx = new Continue_tagContext(_ctx, getState());
enterRule(_localctx, 8, RULE_continue_tag);
try {
enterOuterAlt(_localctx, 1);
{
setState(124);
match(TagStart);
setState(125);
match(Continue);
setState(126);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Other_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode BlockId() { return getToken(LiquidParser.BlockId, 0); }
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public TerminalNode EndBlockId() { return getToken(LiquidParser.EndBlockId, 0); }
public Other_tag_parametersContext other_tag_parameters() {
return getRuleContext(Other_tag_parametersContext.class,0);
}
public List atom() {
return getRuleContexts(AtomContext.class);
}
public AtomContext atom(int i) {
return getRuleContext(AtomContext.class,i);
}
public Error_other_tagContext error_other_tag() {
return getRuleContext(Error_other_tagContext.class,0);
}
public Other_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_other_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOther_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOther_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOther_tag(this);
else return visitor.visitChildren(this);
}
}
public final Other_tagContext other_tag() throws RecognitionException {
Other_tagContext _localctx = new Other_tagContext(_ctx, getState());
enterRule(_localctx, 10, RULE_other_tag);
int _la;
try {
int _alt;
setState(144);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,5,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(128);
match(TagStart);
setState(129);
match(BlockId);
setState(131);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(130);
other_tag_parameters();
}
}
setState(133);
match(TagEnd);
setState(137);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,4,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
{
setState(134);
atom();
}
}
}
setState(139);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,4,_ctx);
}
setState(140);
match(TagStart);
setState(141);
match(EndBlockId);
setState(142);
match(TagEnd);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(143);
error_other_tag();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Error_other_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode BlockId() { return getToken(LiquidParser.BlockId, 0); }
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public TerminalNode MisMatchedEndBlockId() { return getToken(LiquidParser.MisMatchedEndBlockId, 0); }
public Other_tag_parametersContext other_tag_parameters() {
return getRuleContext(Other_tag_parametersContext.class,0);
}
public List atom() {
return getRuleContexts(AtomContext.class);
}
public AtomContext atom(int i) {
return getRuleContext(AtomContext.class,i);
}
public TerminalNode InvalidEndBlockId() { return getToken(LiquidParser.InvalidEndBlockId, 0); }
public TerminalNode InvalidTagId() { return getToken(LiquidParser.InvalidTagId, 0); }
public TerminalNode InvalidEndTag() { return getToken(LiquidParser.InvalidEndTag, 0); }
public Error_other_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_error_other_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterError_other_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitError_other_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitError_other_tag(this);
else return visitor.visitChildren(this);
}
}
public final Error_other_tagContext error_other_tag() throws RecognitionException {
Error_other_tagContext _localctx = new Error_other_tagContext(_ctx, getState());
enterRule(_localctx, 12, RULE_error_other_tag);
int _la;
try {
int _alt;
setState(201);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,13,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(146);
match(TagStart);
setState(147);
match(BlockId);
setState(149);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(148);
other_tag_parameters();
}
}
setState(151);
match(TagEnd);
setState(155);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,7,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
{
setState(152);
atom();
}
}
}
setState(157);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,7,_ctx);
}
setState(158);
match(TagStart);
setState(159);
match(MisMatchedEndBlockId);
setState(160);
match(TagEnd);
reportTokenError("Mismatched End Tag", _localctx.MisMatchedEndBlockId().getSymbol());
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(162);
match(TagStart);
setState(163);
match(BlockId);
setState(165);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(164);
other_tag_parameters();
}
}
setState(167);
match(TagEnd);
setState(171);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,9,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
{
setState(168);
atom();
}
}
}
setState(173);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,9,_ctx);
}
setState(174);
match(TagStart);
setState(175);
match(InvalidEndBlockId);
setState(176);
match(TagEnd);
reportTokenError("Invalid End Tag", _localctx.InvalidEndBlockId().getSymbol());
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(178);
match(TagStart);
setState(179);
match(BlockId);
setState(181);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(180);
other_tag_parameters();
}
}
setState(183);
match(TagEnd);
setState(187);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,11,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
{
setState(184);
atom();
}
}
}
setState(189);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,11,_ctx);
}
reportTokenError("Missing End Tag");
}
break;
case 4:
enterOuterAlt(_localctx, 4);
{
setState(191);
match(TagStart);
setState(192);
match(InvalidTagId);
setState(194);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(193);
other_tag_parameters();
}
}
setState(196);
match(TagEnd);
reportTokenError("Invalid Tag", _localctx.InvalidTagId().getSymbol());
}
break;
case 5:
enterOuterAlt(_localctx, 5);
{
setState(198);
match(TagStart);
setState(199);
match(InvalidEndTag);
reportTokenError("Invalid Empty Tag");
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Simple_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode SimpleTagId() { return getToken(LiquidParser.SimpleTagId, 0); }
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public Other_tag_parametersContext other_tag_parameters() {
return getRuleContext(Other_tag_parametersContext.class,0);
}
public Simple_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_simple_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterSimple_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitSimple_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitSimple_tag(this);
else return visitor.visitChildren(this);
}
}
public final Simple_tagContext simple_tag() throws RecognitionException {
Simple_tagContext _localctx = new Simple_tagContext(_ctx, getState());
enterRule(_localctx, 14, RULE_simple_tag);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(203);
match(TagStart);
setState(204);
match(SimpleTagId);
setState(206);
_errHandler.sync(this);
_la = _input.LA(1);
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
setState(205);
other_tag_parameters();
}
}
setState(208);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Raw_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode RawStart() { return getToken(LiquidParser.RawStart, 0); }
public Raw_bodyContext raw_body() {
return getRuleContext(Raw_bodyContext.class,0);
}
public TerminalNode RawEnd() { return getToken(LiquidParser.RawEnd, 0); }
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public Raw_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_raw_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterRaw_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitRaw_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitRaw_tag(this);
else return visitor.visitChildren(this);
}
}
public final Raw_tagContext raw_tag() throws RecognitionException {
Raw_tagContext _localctx = new Raw_tagContext(_ctx, getState());
enterRule(_localctx, 16, RULE_raw_tag);
try {
enterOuterAlt(_localctx, 1);
{
setState(210);
match(TagStart);
setState(211);
match(RawStart);
setState(212);
raw_body();
setState(213);
match(RawEnd);
setState(214);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Raw_bodyContext extends ParserRuleContext {
public List OtherRaw() { return getTokens(LiquidParser.OtherRaw); }
public TerminalNode OtherRaw(int i) {
return getToken(LiquidParser.OtherRaw, i);
}
public Raw_bodyContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_raw_body; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterRaw_body(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitRaw_body(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitRaw_body(this);
else return visitor.visitChildren(this);
}
}
public final Raw_bodyContext raw_body() throws RecognitionException {
Raw_bodyContext _localctx = new Raw_bodyContext(_ctx, getState());
enterRule(_localctx, 18, RULE_raw_body);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(219);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==OtherRaw) {
{
{
setState(216);
match(OtherRaw);
}
}
setState(221);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Comment_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode CommentStart() { return getToken(LiquidParser.CommentStart, 0); }
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public TerminalNode CommentEnd() { return getToken(LiquidParser.CommentEnd, 0); }
public Comment_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_comment_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterComment_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitComment_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitComment_tag(this);
else return visitor.visitChildren(this);
}
}
public final Comment_tagContext comment_tag() throws RecognitionException {
Comment_tagContext _localctx = new Comment_tagContext(_ctx, getState());
enterRule(_localctx, 20, RULE_comment_tag);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(222);
match(TagStart);
setState(223);
match(CommentStart);
setState(224);
match(TagEnd);
setState(228);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,16,_ctx);
while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1+1 ) {
{
{
setState(225);
matchWildcard();
}
}
}
setState(230);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,16,_ctx);
}
setState(231);
match(TagStart);
setState(232);
match(CommentEnd);
setState(233);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Other_than_tag_startContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public Other_than_tag_startContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_other_than_tag_start; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOther_than_tag_start(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOther_than_tag_start(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOther_than_tag_start(this);
else return visitor.visitChildren(this);
}
}
public final Other_than_tag_startContext other_than_tag_start() throws RecognitionException {
Other_than_tag_startContext _localctx = new Other_than_tag_startContext(_ctx, getState());
enterRule(_localctx, 22, RULE_other_than_tag_start);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(238);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << TagEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0)) {
{
{
setState(235);
_la = _input.LA(1);
if ( _la <= 0 || (_la==TagStart) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(240);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class If_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode IfStart() { return getToken(LiquidParser.IfStart, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode IfEnd() { return getToken(LiquidParser.IfEnd, 0); }
public List elsif_tag() {
return getRuleContexts(Elsif_tagContext.class);
}
public Elsif_tagContext elsif_tag(int i) {
return getRuleContext(Elsif_tagContext.class,i);
}
public Else_tagContext else_tag() {
return getRuleContext(Else_tagContext.class,0);
}
public If_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_if_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterIf_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitIf_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitIf_tag(this);
else return visitor.visitChildren(this);
}
}
public final If_tagContext if_tag() throws RecognitionException {
If_tagContext _localctx = new If_tagContext(_ctx, getState());
enterRule(_localctx, 24, RULE_if_tag);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(241);
match(TagStart);
setState(242);
match(IfStart);
setState(243);
expr(0);
setState(244);
match(TagEnd);
setState(245);
block();
setState(249);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,18,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(246);
elsif_tag();
}
}
}
setState(251);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,18,_ctx);
}
setState(253);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,19,_ctx) ) {
case 1:
{
setState(252);
else_tag();
}
break;
}
setState(255);
match(TagStart);
setState(256);
match(IfEnd);
setState(257);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Elsif_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Elsif() { return getToken(LiquidParser.Elsif, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public Elsif_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_elsif_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterElsif_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitElsif_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitElsif_tag(this);
else return visitor.visitChildren(this);
}
}
public final Elsif_tagContext elsif_tag() throws RecognitionException {
Elsif_tagContext _localctx = new Elsif_tagContext(_ctx, getState());
enterRule(_localctx, 26, RULE_elsif_tag);
try {
enterOuterAlt(_localctx, 1);
{
setState(259);
match(TagStart);
setState(260);
match(Elsif);
setState(261);
expr(0);
setState(262);
match(TagEnd);
setState(263);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Else_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Else() { return getToken(LiquidParser.Else, 0); }
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public Else_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_else_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterElse_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitElse_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitElse_tag(this);
else return visitor.visitChildren(this);
}
}
public final Else_tagContext else_tag() throws RecognitionException {
Else_tagContext _localctx = new Else_tagContext(_ctx, getState());
enterRule(_localctx, 28, RULE_else_tag);
try {
enterOuterAlt(_localctx, 1);
{
setState(265);
match(TagStart);
setState(266);
match(Else);
setState(267);
match(TagEnd);
setState(268);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Unless_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode UnlessStart() { return getToken(LiquidParser.UnlessStart, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode UnlessEnd() { return getToken(LiquidParser.UnlessEnd, 0); }
public Else_tagContext else_tag() {
return getRuleContext(Else_tagContext.class,0);
}
public Unless_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_unless_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterUnless_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitUnless_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitUnless_tag(this);
else return visitor.visitChildren(this);
}
}
public final Unless_tagContext unless_tag() throws RecognitionException {
Unless_tagContext _localctx = new Unless_tagContext(_ctx, getState());
enterRule(_localctx, 30, RULE_unless_tag);
try {
enterOuterAlt(_localctx, 1);
{
setState(270);
match(TagStart);
setState(271);
match(UnlessStart);
setState(272);
expr(0);
setState(273);
match(TagEnd);
setState(274);
block();
setState(276);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,20,_ctx) ) {
case 1:
{
setState(275);
else_tag();
}
break;
}
setState(278);
match(TagStart);
setState(279);
match(UnlessEnd);
setState(280);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Case_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode CaseStart() { return getToken(LiquidParser.CaseStart, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public TerminalNode CaseEnd() { return getToken(LiquidParser.CaseEnd, 0); }
public OtherContext other() {
return getRuleContext(OtherContext.class,0);
}
public List when_tag() {
return getRuleContexts(When_tagContext.class);
}
public When_tagContext when_tag(int i) {
return getRuleContext(When_tagContext.class,i);
}
public Else_tagContext else_tag() {
return getRuleContext(Else_tagContext.class,0);
}
public Case_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_case_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterCase_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitCase_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitCase_tag(this);
else return visitor.visitChildren(this);
}
}
public final Case_tagContext case_tag() throws RecognitionException {
Case_tagContext _localctx = new Case_tagContext(_ctx, getState());
enterRule(_localctx, 32, RULE_case_tag);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(282);
match(TagStart);
setState(283);
match(CaseStart);
setState(284);
expr(0);
setState(285);
match(TagEnd);
setState(287);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==Other) {
{
setState(286);
other();
}
}
setState(290);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(289);
when_tag();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(292);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,22,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
setState(295);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,23,_ctx) ) {
case 1:
{
setState(294);
else_tag();
}
break;
}
setState(297);
match(TagStart);
setState(298);
match(CaseEnd);
setState(299);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class When_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode When() { return getToken(LiquidParser.When, 0); }
public List term() {
return getRuleContexts(TermContext.class);
}
public TermContext term(int i) {
return getRuleContext(TermContext.class,i);
}
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public List Or() { return getTokens(LiquidParser.Or); }
public TerminalNode Or(int i) {
return getToken(LiquidParser.Or, i);
}
public List Comma() { return getTokens(LiquidParser.Comma); }
public TerminalNode Comma(int i) {
return getToken(LiquidParser.Comma, i);
}
public When_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_when_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterWhen_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitWhen_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitWhen_tag(this);
else return visitor.visitChildren(this);
}
}
public final When_tagContext when_tag() throws RecognitionException {
When_tagContext _localctx = new When_tagContext(_ctx, getState());
enterRule(_localctx, 34, RULE_when_tag);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(301);
match(TagStart);
setState(302);
match(When);
setState(303);
term();
setState(308);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Comma || _la==Or) {
{
{
setState(304);
_la = _input.LA(1);
if ( !(_la==Comma || _la==Or) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(305);
term();
}
}
setState(310);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(311);
match(TagEnd);
setState(312);
block();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Cycle_tagContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Cycle() { return getToken(LiquidParser.Cycle, 0); }
public Cycle_groupContext cycle_group() {
return getRuleContext(Cycle_groupContext.class,0);
}
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public List Comma() { return getTokens(LiquidParser.Comma); }
public TerminalNode Comma(int i) {
return getToken(LiquidParser.Comma, i);
}
public Cycle_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cycle_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterCycle_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitCycle_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitCycle_tag(this);
else return visitor.visitChildren(this);
}
}
public final Cycle_tagContext cycle_tag() throws RecognitionException {
Cycle_tagContext _localctx = new Cycle_tagContext(_ctx, getState());
enterRule(_localctx, 36, RULE_cycle_tag);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(314);
match(TagStart);
setState(315);
match(Cycle);
setState(316);
cycle_group();
setState(317);
expr(0);
setState(322);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Comma) {
{
{
setState(318);
match(Comma);
setState(319);
expr(0);
}
}
setState(324);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(325);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Cycle_groupContext extends ParserRuleContext {
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode Col() { return getToken(LiquidParser.Col, 0); }
public Cycle_groupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_cycle_group; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterCycle_group(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitCycle_group(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitCycle_group(this);
else return visitor.visitChildren(this);
}
}
public final Cycle_groupContext cycle_group() throws RecognitionException {
Cycle_groupContext _localctx = new Cycle_groupContext(_ctx, getState());
enterRule(_localctx, 38, RULE_cycle_group);
try {
enterOuterAlt(_localctx, 1);
{
setState(330);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,26,_ctx) ) {
case 1:
{
setState(327);
expr(0);
setState(328);
match(Col);
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class For_tagContext extends ParserRuleContext {
public For_arrayContext for_array() {
return getRuleContext(For_arrayContext.class,0);
}
public For_rangeContext for_range() {
return getRuleContext(For_rangeContext.class,0);
}
public For_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_for_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFor_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFor_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFor_tag(this);
else return visitor.visitChildren(this);
}
}
public final For_tagContext for_tag() throws RecognitionException {
For_tagContext _localctx = new For_tagContext(_ctx, getState());
enterRule(_localctx, 40, RULE_for_tag);
try {
setState(334);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,27,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(332);
for_array();
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(333);
for_range();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class For_arrayContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode ForStart() { return getToken(LiquidParser.ForStart, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode In() { return getToken(LiquidParser.In, 0); }
public LookupContext lookup() {
return getRuleContext(LookupContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public For_blockContext for_block() {
return getRuleContext(For_blockContext.class,0);
}
public TerminalNode ForEnd() { return getToken(LiquidParser.ForEnd, 0); }
public TerminalNode Reversed() { return getToken(LiquidParser.Reversed, 0); }
public List for_attribute() {
return getRuleContexts(For_attributeContext.class);
}
public For_attributeContext for_attribute(int i) {
return getRuleContext(For_attributeContext.class,i);
}
public For_arrayContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_for_array; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFor_array(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFor_array(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFor_array(this);
else return visitor.visitChildren(this);
}
}
public final For_arrayContext for_array() throws RecognitionException {
For_arrayContext _localctx = new For_arrayContext(_ctx, getState());
enterRule(_localctx, 42, RULE_for_array);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(336);
match(TagStart);
setState(337);
match(ForStart);
setState(338);
id();
setState(339);
match(In);
setState(340);
lookup();
setState(342);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==Reversed) {
{
setState(341);
match(Reversed);
}
}
setState(347);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Offset || _la==Id) {
{
{
setState(344);
for_attribute();
}
}
setState(349);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(350);
match(TagEnd);
setState(351);
for_block();
setState(352);
match(TagStart);
setState(353);
match(ForEnd);
setState(354);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class For_rangeContext extends ParserRuleContext {
public ExprContext from;
public ExprContext to;
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode ForStart() { return getToken(LiquidParser.ForStart, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode In() { return getToken(LiquidParser.In, 0); }
public TerminalNode OPar() { return getToken(LiquidParser.OPar, 0); }
public TerminalNode DotDot() { return getToken(LiquidParser.DotDot, 0); }
public TerminalNode CPar() { return getToken(LiquidParser.CPar, 0); }
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode ForEnd() { return getToken(LiquidParser.ForEnd, 0); }
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public TerminalNode Reversed() { return getToken(LiquidParser.Reversed, 0); }
public List for_attribute() {
return getRuleContexts(For_attributeContext.class);
}
public For_attributeContext for_attribute(int i) {
return getRuleContext(For_attributeContext.class,i);
}
public For_rangeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_for_range; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFor_range(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFor_range(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFor_range(this);
else return visitor.visitChildren(this);
}
}
public final For_rangeContext for_range() throws RecognitionException {
For_rangeContext _localctx = new For_rangeContext(_ctx, getState());
enterRule(_localctx, 44, RULE_for_range);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(356);
match(TagStart);
setState(357);
match(ForStart);
setState(358);
id();
setState(359);
match(In);
setState(360);
match(OPar);
setState(361);
((For_rangeContext)_localctx).from = expr(0);
setState(362);
match(DotDot);
setState(363);
((For_rangeContext)_localctx).to = expr(0);
setState(364);
match(CPar);
setState(366);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==Reversed) {
{
setState(365);
match(Reversed);
}
}
setState(371);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Offset || _la==Id) {
{
{
setState(368);
for_attribute();
}
}
setState(373);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(374);
match(TagEnd);
setState(375);
block();
setState(376);
match(TagStart);
setState(377);
match(ForEnd);
setState(378);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class For_blockContext extends ParserRuleContext {
public BlockContext a;
public BlockContext b;
public List block() {
return getRuleContexts(BlockContext.class);
}
public BlockContext block(int i) {
return getRuleContext(BlockContext.class,i);
}
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Else() { return getToken(LiquidParser.Else, 0); }
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public For_blockContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_for_block; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFor_block(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFor_block(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFor_block(this);
else return visitor.visitChildren(this);
}
}
public final For_blockContext for_block() throws RecognitionException {
For_blockContext _localctx = new For_blockContext(_ctx, getState());
enterRule(_localctx, 46, RULE_for_block);
try {
enterOuterAlt(_localctx, 1);
{
setState(380);
((For_blockContext)_localctx).a = block();
setState(385);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,32,_ctx) ) {
case 1:
{
setState(381);
match(TagStart);
setState(382);
match(Else);
setState(383);
match(TagEnd);
setState(384);
((For_blockContext)_localctx).b = block();
}
break;
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class For_attributeContext extends ParserRuleContext {
public TerminalNode Offset() { return getToken(LiquidParser.Offset, 0); }
public TerminalNode Col() { return getToken(LiquidParser.Col, 0); }
public TerminalNode Continue() { return getToken(LiquidParser.Continue, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode Id() { return getToken(LiquidParser.Id, 0); }
public For_attributeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_for_attribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFor_attribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFor_attribute(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFor_attribute(this);
else return visitor.visitChildren(this);
}
}
public final For_attributeContext for_attribute() throws RecognitionException {
For_attributeContext _localctx = new For_attributeContext(_ctx, getState());
enterRule(_localctx, 48, RULE_for_attribute);
try {
setState(396);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(387);
match(Offset);
setState(388);
match(Col);
setState(389);
match(Continue);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(390);
match(Offset);
setState(391);
match(Col);
setState(392);
expr(0);
}
break;
case 3:
enterOuterAlt(_localctx, 3);
{
setState(393);
match(Id);
setState(394);
match(Col);
setState(395);
expr(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AttributeContext extends ParserRuleContext {
public TerminalNode Offset() { return getToken(LiquidParser.Offset, 0); }
public TerminalNode Col() { return getToken(LiquidParser.Col, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode Id() { return getToken(LiquidParser.Id, 0); }
public AttributeContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_attribute; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAttribute(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAttribute(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAttribute(this);
else return visitor.visitChildren(this);
}
}
public final AttributeContext attribute() throws RecognitionException {
AttributeContext _localctx = new AttributeContext(_ctx, getState());
enterRule(_localctx, 50, RULE_attribute);
try {
setState(404);
_errHandler.sync(this);
switch (_input.LA(1)) {
case Offset:
enterOuterAlt(_localctx, 1);
{
setState(398);
match(Offset);
setState(399);
match(Col);
setState(400);
expr(0);
}
break;
case Id:
enterOuterAlt(_localctx, 2);
{
setState(401);
match(Id);
setState(402);
match(Col);
setState(403);
expr(0);
}
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 class Table_tagContext extends ParserRuleContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode TableStart() { return getToken(LiquidParser.TableStart, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode In() { return getToken(LiquidParser.In, 0); }
public LookupContext lookup() {
return getRuleContext(LookupContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode TableEnd() { return getToken(LiquidParser.TableEnd, 0); }
public List attribute() {
return getRuleContexts(AttributeContext.class);
}
public AttributeContext attribute(int i) {
return getRuleContext(AttributeContext.class,i);
}
public Table_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_table_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTable_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTable_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTable_tag(this);
else return visitor.visitChildren(this);
}
}
public final Table_tagContext table_tag() throws RecognitionException {
Table_tagContext _localctx = new Table_tagContext(_ctx, getState());
enterRule(_localctx, 52, RULE_table_tag);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(406);
match(TagStart);
setState(407);
match(TableStart);
setState(408);
id();
setState(409);
match(In);
setState(410);
lookup();
setState(414);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Offset || _la==Id) {
{
{
setState(411);
attribute();
}
}
setState(416);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(417);
match(TagEnd);
setState(418);
block();
setState(419);
match(TagStart);
setState(420);
match(TableEnd);
setState(421);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Capture_tagContext extends ParserRuleContext {
public Capture_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_capture_tag; }
public Capture_tagContext() { }
public void copyFrom(Capture_tagContext ctx) {
super.copyFrom(ctx);
}
}
public static class Capture_tag_IdContext extends Capture_tagContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode CaptureStart() { return getToken(LiquidParser.CaptureStart, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode CaptureEnd() { return getToken(LiquidParser.CaptureEnd, 0); }
public Capture_tag_IdContext(Capture_tagContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterCapture_tag_Id(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitCapture_tag_Id(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitCapture_tag_Id(this);
else return visitor.visitChildren(this);
}
}
public static class Capture_tag_StrContext extends Capture_tagContext {
public List TagStart() { return getTokens(LiquidParser.TagStart); }
public TerminalNode TagStart(int i) {
return getToken(LiquidParser.TagStart, i);
}
public TerminalNode CaptureStart() { return getToken(LiquidParser.CaptureStart, 0); }
public TerminalNode Str() { return getToken(LiquidParser.Str, 0); }
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public BlockContext block() {
return getRuleContext(BlockContext.class,0);
}
public TerminalNode CaptureEnd() { return getToken(LiquidParser.CaptureEnd, 0); }
public Capture_tag_StrContext(Capture_tagContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterCapture_tag_Str(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitCapture_tag_Str(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitCapture_tag_Str(this);
else return visitor.visitChildren(this);
}
}
public final Capture_tagContext capture_tag() throws RecognitionException {
Capture_tagContext _localctx = new Capture_tagContext(_ctx, getState());
enterRule(_localctx, 54, RULE_capture_tag);
try {
setState(441);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,36,_ctx) ) {
case 1:
_localctx = new Capture_tag_IdContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(423);
match(TagStart);
setState(424);
match(CaptureStart);
setState(425);
id();
setState(426);
match(TagEnd);
setState(427);
block();
setState(428);
match(TagStart);
setState(429);
match(CaptureEnd);
setState(430);
match(TagEnd);
}
break;
case 2:
_localctx = new Capture_tag_StrContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(432);
match(TagStart);
setState(433);
match(CaptureStart);
setState(434);
match(Str);
setState(435);
match(TagEnd);
setState(436);
block();
setState(437);
match(TagStart);
setState(438);
match(CaptureEnd);
setState(439);
match(TagEnd);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Include_tagContext extends ParserRuleContext {
public Token liquid;
public Token jekyll;
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public TerminalNode Include() { return getToken(LiquidParser.Include, 0); }
public TerminalNode With() { return getToken(LiquidParser.With, 0); }
public TerminalNode Str() { return getToken(LiquidParser.Str, 0); }
public File_name_or_outputContext file_name_or_output() {
return getRuleContext(File_name_or_outputContext.class,0);
}
public List jekyll_include_params() {
return getRuleContexts(Jekyll_include_paramsContext.class);
}
public Jekyll_include_paramsContext jekyll_include_params(int i) {
return getRuleContext(Jekyll_include_paramsContext.class,i);
}
public Include_tagContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_include_tag; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterInclude_tag(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitInclude_tag(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitInclude_tag(this);
else return visitor.visitChildren(this);
}
}
public final Include_tagContext include_tag() throws RecognitionException {
Include_tagContext _localctx = new Include_tagContext(_ctx, getState());
enterRule(_localctx, 56, RULE_include_tag);
int _la;
try {
setState(465);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,39,_ctx) ) {
case 1:
enterOuterAlt(_localctx, 1);
{
setState(443);
if (!(isLiquid())) throw new FailedPredicateException(this, "isLiquid()");
setState(444);
match(TagStart);
setState(445);
((Include_tagContext)_localctx).liquid = match(Include);
setState(446);
expr(0);
setState(449);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==With) {
{
setState(447);
match(With);
setState(448);
match(Str);
}
}
setState(451);
match(TagEnd);
}
break;
case 2:
enterOuterAlt(_localctx, 2);
{
setState(453);
if (!(isJekyll())) throw new FailedPredicateException(this, "isJekyll()");
setState(454);
match(TagStart);
setState(455);
((Include_tagContext)_localctx).jekyll = match(Include);
setState(456);
file_name_or_output();
setState(460);
_errHandler.sync(this);
_la = _input.LA(1);
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Id) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (RawEnd - 64)))) != 0)) {
{
{
setState(457);
jekyll_include_params();
}
}
setState(462);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(463);
match(TagEnd);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class File_name_or_outputContext extends ParserRuleContext {
public File_name_or_outputContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_file_name_or_output; }
public File_name_or_outputContext() { }
public void copyFrom(File_name_or_outputContext ctx) {
super.copyFrom(ctx);
}
}
public static class Jekyll_include_filenameContext extends File_name_or_outputContext {
public FilenameContext filename() {
return getRuleContext(FilenameContext.class,0);
}
public Jekyll_include_filenameContext(File_name_or_outputContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterJekyll_include_filename(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitJekyll_include_filename(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitJekyll_include_filename(this);
else return visitor.visitChildren(this);
}
}
public static class Jekyll_include_outputContext extends File_name_or_outputContext {
public OutputContext output() {
return getRuleContext(OutputContext.class,0);
}
public Jekyll_include_outputContext(File_name_or_outputContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterJekyll_include_output(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitJekyll_include_output(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitJekyll_include_output(this);
else return visitor.visitChildren(this);
}
}
public final File_name_or_outputContext file_name_or_output() throws RecognitionException {
File_name_or_outputContext _localctx = new File_name_or_outputContext(_ctx, getState());
enterRule(_localctx, 58, RULE_file_name_or_output);
try {
setState(469);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,40,_ctx) ) {
case 1:
_localctx = new Jekyll_include_outputContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(467);
output();
}
break;
case 2:
_localctx = new Jekyll_include_filenameContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(468);
filename();
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Jekyll_include_paramsContext extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode EqSign() { return getToken(LiquidParser.EqSign, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public Jekyll_include_paramsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_jekyll_include_params; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterJekyll_include_params(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitJekyll_include_params(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitJekyll_include_params(this);
else return visitor.visitChildren(this);
}
}
public final Jekyll_include_paramsContext jekyll_include_params() throws RecognitionException {
Jekyll_include_paramsContext _localctx = new Jekyll_include_paramsContext(_ctx, getState());
enterRule(_localctx, 60, RULE_jekyll_include_params);
try {
enterOuterAlt(_localctx, 1);
{
setState(471);
id();
setState(472);
match(EqSign);
setState(473);
expr(0);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OutputContext extends ParserRuleContext {
public OutStartContext outStart() {
return getRuleContext(OutStartContext.class,0);
}
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode OutEnd() { return getToken(LiquidParser.OutEnd, 0); }
public List filter() {
return getRuleContexts(FilterContext.class);
}
public FilterContext filter(int i) {
return getRuleContext(FilterContext.class,i);
}
public OutputContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_output; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOutput(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOutput(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOutput(this);
else return visitor.visitChildren(this);
}
}
public final OutputContext output() throws RecognitionException {
OutputContext _localctx = new OutputContext(_ctx, getState());
enterRule(_localctx, 62, RULE_output);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(475);
outStart();
setState(476);
expr(0);
setState(480);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Pipe) {
{
{
setState(477);
filter();
}
}
setState(482);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(483);
match(OutEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FilterContext extends ParserRuleContext {
public TerminalNode Pipe() { return getToken(LiquidParser.Pipe, 0); }
public TerminalNode Id() { return getToken(LiquidParser.Id, 0); }
public ParamsContext params() {
return getRuleContext(ParamsContext.class,0);
}
public FilterContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_filter; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFilter(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFilter(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFilter(this);
else return visitor.visitChildren(this);
}
}
public final FilterContext filter() throws RecognitionException {
FilterContext _localctx = new FilterContext(_ctx, getState());
enterRule(_localctx, 64, RULE_filter);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(485);
match(Pipe);
setState(486);
match(Id);
setState(488);
_errHandler.sync(this);
_la = _input.LA(1);
if (_la==Col) {
{
setState(487);
params();
}
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ParamsContext extends ParserRuleContext {
public TerminalNode Col() { return getToken(LiquidParser.Col, 0); }
public List param_expr() {
return getRuleContexts(Param_exprContext.class);
}
public Param_exprContext param_expr(int i) {
return getRuleContext(Param_exprContext.class,i);
}
public List Comma() { return getTokens(LiquidParser.Comma); }
public TerminalNode Comma(int i) {
return getToken(LiquidParser.Comma, i);
}
public ParamsContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_params; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterParams(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitParams(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitParams(this);
else return visitor.visitChildren(this);
}
}
public final ParamsContext params() throws RecognitionException {
ParamsContext _localctx = new ParamsContext(_ctx, getState());
enterRule(_localctx, 66, RULE_params);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(490);
match(Col);
setState(491);
param_expr();
setState(496);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Comma) {
{
{
setState(492);
match(Comma);
setState(493);
param_expr();
}
}
setState(498);
_errHandler.sync(this);
_la = _input.LA(1);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Param_exprContext extends ParserRuleContext {
public Param_exprContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_param_expr; }
public Param_exprContext() { }
public void copyFrom(Param_exprContext ctx) {
super.copyFrom(ctx);
}
}
public static class Param_expr_exprContext extends Param_exprContext {
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public Param_expr_exprContext(Param_exprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterParam_expr_expr(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitParam_expr_expr(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitParam_expr_expr(this);
else return visitor.visitChildren(this);
}
}
public static class Param_expr_key_valueContext extends Param_exprContext {
public Id2Context id2() {
return getRuleContext(Id2Context.class,0);
}
public TerminalNode Col() { return getToken(LiquidParser.Col, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public Param_expr_key_valueContext(Param_exprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterParam_expr_key_value(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitParam_expr_key_value(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitParam_expr_key_value(this);
else return visitor.visitChildren(this);
}
}
public final Param_exprContext param_expr() throws RecognitionException {
Param_exprContext _localctx = new Param_exprContext(_ctx, getState());
enterRule(_localctx, 68, RULE_param_expr);
try {
setState(504);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,44,_ctx) ) {
case 1:
_localctx = new Param_expr_key_valueContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(499);
id2();
setState(500);
match(Col);
setState(501);
expr(0);
}
break;
case 2:
_localctx = new Param_expr_exprContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(503);
expr(0);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class AssignmentContext extends ParserRuleContext {
public TerminalNode TagStart() { return getToken(LiquidParser.TagStart, 0); }
public TerminalNode Assign() { return getToken(LiquidParser.Assign, 0); }
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode EqSign() { return getToken(LiquidParser.EqSign, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode TagEnd() { return getToken(LiquidParser.TagEnd, 0); }
public List filter() {
return getRuleContexts(FilterContext.class);
}
public FilterContext filter(int i) {
return getRuleContext(FilterContext.class,i);
}
public AssignmentContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_assignment; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterAssignment(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitAssignment(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitAssignment(this);
else return visitor.visitChildren(this);
}
}
public final AssignmentContext assignment() throws RecognitionException {
AssignmentContext _localctx = new AssignmentContext(_ctx, getState());
enterRule(_localctx, 70, RULE_assignment);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(506);
match(TagStart);
setState(507);
match(Assign);
setState(508);
id();
setState(509);
match(EqSign);
setState(510);
expr(0);
setState(514);
_errHandler.sync(this);
_la = _input.LA(1);
while (_la==Pipe) {
{
{
setState(511);
filter();
}
}
setState(516);
_errHandler.sync(this);
_la = _input.LA(1);
}
setState(517);
match(TagEnd);
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class ExprContext extends ParserRuleContext {
public ExprContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_expr; }
public ExprContext() { }
public void copyFrom(ExprContext ctx) {
super.copyFrom(ctx);
}
}
public static class Expr_containsContext extends ExprContext {
public ExprContext lhs;
public ExprContext rhs;
public TerminalNode Contains() { return getToken(LiquidParser.Contains, 0); }
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public Expr_containsContext(ExprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterExpr_contains(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitExpr_contains(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitExpr_contains(this);
else return visitor.visitChildren(this);
}
}
public static class Expr_termContext extends ExprContext {
public TermContext term() {
return getRuleContext(TermContext.class,0);
}
public Expr_termContext(ExprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterExpr_term(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitExpr_term(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitExpr_term(this);
else return visitor.visitChildren(this);
}
}
public static class Expr_relContext extends ExprContext {
public ExprContext lhs;
public Token op;
public ExprContext rhs;
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public TerminalNode LtEq() { return getToken(LiquidParser.LtEq, 0); }
public TerminalNode Lt() { return getToken(LiquidParser.Lt, 0); }
public TerminalNode GtEq() { return getToken(LiquidParser.GtEq, 0); }
public TerminalNode Gt() { return getToken(LiquidParser.Gt, 0); }
public Expr_relContext(ExprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterExpr_rel(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitExpr_rel(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitExpr_rel(this);
else return visitor.visitChildren(this);
}
}
public static class Expr_eqContext extends ExprContext {
public ExprContext lhs;
public Token op;
public ExprContext rhs;
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public TerminalNode Eq() { return getToken(LiquidParser.Eq, 0); }
public TerminalNode NEq() { return getToken(LiquidParser.NEq, 0); }
public Expr_eqContext(ExprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterExpr_eq(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitExpr_eq(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitExpr_eq(this);
else return visitor.visitChildren(this);
}
}
public static class Expr_logicContext extends ExprContext {
public ExprContext lhs;
public Token op;
public ExprContext rhs;
public List expr() {
return getRuleContexts(ExprContext.class);
}
public ExprContext expr(int i) {
return getRuleContext(ExprContext.class,i);
}
public TerminalNode And() { return getToken(LiquidParser.And, 0); }
public TerminalNode Or() { return getToken(LiquidParser.Or, 0); }
public Expr_logicContext(ExprContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterExpr_logic(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitExpr_logic(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitExpr_logic(this);
else return visitor.visitChildren(this);
}
}
public final ExprContext expr() throws RecognitionException {
return expr(0);
}
private ExprContext expr(int _p) throws RecognitionException {
ParserRuleContext _parentctx = _ctx;
int _parentState = getState();
ExprContext _localctx = new ExprContext(_ctx, _parentState);
ExprContext _prevctx = _localctx;
int _startState = 72;
enterRecursionRule(_localctx, 72, RULE_expr, _p);
int _la;
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
{
_localctx = new Expr_termContext(_localctx);
_ctx = _localctx;
_prevctx = _localctx;
setState(520);
term();
}
_ctx.stop = _input.LT(-1);
setState(536);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,47,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
if ( _parseListeners!=null ) triggerExitRuleEvent();
_prevctx = _localctx;
{
setState(534);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,46,_ctx) ) {
case 1:
{
_localctx = new Expr_relContext(new ExprContext(_parentctx, _parentState));
((Expr_relContext)_localctx).lhs = _prevctx;
pushNewRecursionContext(_localctx, _startState, RULE_expr);
setState(522);
if (!(precpred(_ctx, 5))) throw new FailedPredicateException(this, "precpred(_ctx, 5)");
setState(523);
((Expr_relContext)_localctx).op = _input.LT(1);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt))) != 0)) ) {
((Expr_relContext)_localctx).op = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(524);
((Expr_relContext)_localctx).rhs = expr(6);
}
break;
case 2:
{
_localctx = new Expr_eqContext(new ExprContext(_parentctx, _parentState));
((Expr_eqContext)_localctx).lhs = _prevctx;
pushNewRecursionContext(_localctx, _startState, RULE_expr);
setState(525);
if (!(precpred(_ctx, 4))) throw new FailedPredicateException(this, "precpred(_ctx, 4)");
setState(526);
((Expr_eqContext)_localctx).op = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==NEq || _la==Eq) ) {
((Expr_eqContext)_localctx).op = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(527);
((Expr_eqContext)_localctx).rhs = expr(5);
}
break;
case 3:
{
_localctx = new Expr_containsContext(new ExprContext(_parentctx, _parentState));
((Expr_containsContext)_localctx).lhs = _prevctx;
pushNewRecursionContext(_localctx, _startState, RULE_expr);
setState(528);
if (!(precpred(_ctx, 3))) throw new FailedPredicateException(this, "precpred(_ctx, 3)");
setState(529);
match(Contains);
setState(530);
((Expr_containsContext)_localctx).rhs = expr(4);
}
break;
case 4:
{
_localctx = new Expr_logicContext(new ExprContext(_parentctx, _parentState));
((Expr_logicContext)_localctx).lhs = _prevctx;
pushNewRecursionContext(_localctx, _startState, RULE_expr);
setState(531);
if (!(precpred(_ctx, 2))) throw new FailedPredicateException(this, "precpred(_ctx, 2)");
setState(532);
((Expr_logicContext)_localctx).op = _input.LT(1);
_la = _input.LA(1);
if ( !(_la==And || _la==Or) ) {
((Expr_logicContext)_localctx).op = (Token)_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
setState(533);
((Expr_logicContext)_localctx).rhs = expr(2);
}
break;
}
}
}
setState(538);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,47,_ctx);
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
unrollRecursionContexts(_parentctx);
}
return _localctx;
}
public static class TermContext extends ParserRuleContext {
public TermContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_term; }
public TermContext() { }
public void copyFrom(TermContext ctx) {
super.copyFrom(ctx);
}
}
public static class Term_DoubleNumContext extends TermContext {
public TerminalNode DoubleNum() { return getToken(LiquidParser.DoubleNum, 0); }
public Term_DoubleNumContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_DoubleNum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_DoubleNum(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_DoubleNum(this);
else return visitor.visitChildren(this);
}
}
public static class Term_lookupContext extends TermContext {
public LookupContext lookup() {
return getRuleContext(LookupContext.class,0);
}
public Term_lookupContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_lookup(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_lookup(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_lookup(this);
else return visitor.visitChildren(this);
}
}
public static class Term_exprContext extends TermContext {
public TerminalNode OPar() { return getToken(LiquidParser.OPar, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode CPar() { return getToken(LiquidParser.CPar, 0); }
public Term_exprContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_expr(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_expr(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_expr(this);
else return visitor.visitChildren(this);
}
}
public static class Term_TrueContext extends TermContext {
public TerminalNode True() { return getToken(LiquidParser.True, 0); }
public Term_TrueContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_True(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_True(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_True(this);
else return visitor.visitChildren(this);
}
}
public static class Term_BlankContext extends TermContext {
public TerminalNode Blank() { return getToken(LiquidParser.Blank, 0); }
public Term_BlankContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_Blank(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_Blank(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_Blank(this);
else return visitor.visitChildren(this);
}
}
public static class Term_LongNumContext extends TermContext {
public TerminalNode LongNum() { return getToken(LiquidParser.LongNum, 0); }
public Term_LongNumContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_LongNum(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_LongNum(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_LongNum(this);
else return visitor.visitChildren(this);
}
}
public static class Term_FalseContext extends TermContext {
public TerminalNode False() { return getToken(LiquidParser.False, 0); }
public Term_FalseContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_False(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_False(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_False(this);
else return visitor.visitChildren(this);
}
}
public static class Term_EmptyContext extends TermContext {
public TerminalNode Empty() { return getToken(LiquidParser.Empty, 0); }
public Term_EmptyContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_Empty(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_Empty(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_Empty(this);
else return visitor.visitChildren(this);
}
}
public static class Term_StrContext extends TermContext {
public TerminalNode Str() { return getToken(LiquidParser.Str, 0); }
public Term_StrContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_Str(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_Str(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_Str(this);
else return visitor.visitChildren(this);
}
}
public static class Term_NilContext extends TermContext {
public TerminalNode Nil() { return getToken(LiquidParser.Nil, 0); }
public Term_NilContext(TermContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterTerm_Nil(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitTerm_Nil(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitTerm_Nil(this);
else return visitor.visitChildren(this);
}
}
public final TermContext term() throws RecognitionException {
TermContext _localctx = new TermContext(_ctx, getState());
enterRule(_localctx, 74, RULE_term);
try {
setState(552);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,48,_ctx) ) {
case 1:
_localctx = new Term_DoubleNumContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(539);
match(DoubleNum);
}
break;
case 2:
_localctx = new Term_LongNumContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(540);
match(LongNum);
}
break;
case 3:
_localctx = new Term_StrContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(541);
match(Str);
}
break;
case 4:
_localctx = new Term_TrueContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(542);
match(True);
}
break;
case 5:
_localctx = new Term_FalseContext(_localctx);
enterOuterAlt(_localctx, 5);
{
setState(543);
match(False);
}
break;
case 6:
_localctx = new Term_NilContext(_localctx);
enterOuterAlt(_localctx, 6);
{
setState(544);
match(Nil);
}
break;
case 7:
_localctx = new Term_lookupContext(_localctx);
enterOuterAlt(_localctx, 7);
{
setState(545);
lookup();
}
break;
case 8:
_localctx = new Term_EmptyContext(_localctx);
enterOuterAlt(_localctx, 8);
{
setState(546);
match(Empty);
}
break;
case 9:
_localctx = new Term_BlankContext(_localctx);
enterOuterAlt(_localctx, 9);
{
setState(547);
match(Blank);
}
break;
case 10:
_localctx = new Term_exprContext(_localctx);
enterOuterAlt(_localctx, 10);
{
setState(548);
match(OPar);
setState(549);
expr(0);
setState(550);
match(CPar);
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class LookupContext extends ParserRuleContext {
public LookupContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_lookup; }
public LookupContext() { }
public void copyFrom(LookupContext ctx) {
super.copyFrom(ctx);
}
}
public static class Lookup_IdContext extends LookupContext {
public TerminalNode OBr() { return getToken(LiquidParser.OBr, 0); }
public TerminalNode Id() { return getToken(LiquidParser.Id, 0); }
public TerminalNode CBr() { return getToken(LiquidParser.CBr, 0); }
public TerminalNode QMark() { return getToken(LiquidParser.QMark, 0); }
public Lookup_IdContext(LookupContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterLookup_Id(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitLookup_Id(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitLookup_Id(this);
else return visitor.visitChildren(this);
}
}
public static class Lookup_id_indexesContext extends LookupContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public List index() {
return getRuleContexts(IndexContext.class);
}
public IndexContext index(int i) {
return getRuleContext(IndexContext.class,i);
}
public TerminalNode QMark() { return getToken(LiquidParser.QMark, 0); }
public Lookup_id_indexesContext(LookupContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterLookup_id_indexes(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitLookup_id_indexes(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitLookup_id_indexes(this);
else return visitor.visitChildren(this);
}
}
public static class Lookup_emptyContext extends LookupContext {
public TerminalNode Empty() { return getToken(LiquidParser.Empty, 0); }
public Lookup_emptyContext(LookupContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterLookup_empty(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitLookup_empty(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitLookup_empty(this);
else return visitor.visitChildren(this);
}
}
public static class Lookup_StrContext extends LookupContext {
public TerminalNode OBr() { return getToken(LiquidParser.OBr, 0); }
public TerminalNode Str() { return getToken(LiquidParser.Str, 0); }
public TerminalNode CBr() { return getToken(LiquidParser.CBr, 0); }
public TerminalNode QMark() { return getToken(LiquidParser.QMark, 0); }
public Lookup_StrContext(LookupContext ctx) { copyFrom(ctx); }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterLookup_Str(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitLookup_Str(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitLookup_Str(this);
else return visitor.visitChildren(this);
}
}
public final LookupContext lookup() throws RecognitionException {
LookupContext _localctx = new LookupContext(_ctx, getState());
enterRule(_localctx, 76, RULE_lookup);
try {
int _alt;
setState(577);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,53,_ctx) ) {
case 1:
_localctx = new Lookup_emptyContext(_localctx);
enterOuterAlt(_localctx, 1);
{
setState(554);
match(Empty);
}
break;
case 2:
_localctx = new Lookup_id_indexesContext(_localctx);
enterOuterAlt(_localctx, 2);
{
setState(555);
id();
setState(559);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,49,_ctx);
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
if ( _alt==1 ) {
{
{
setState(556);
index();
}
}
}
setState(561);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,49,_ctx);
}
setState(563);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,50,_ctx) ) {
case 1:
{
setState(562);
match(QMark);
}
break;
}
}
break;
case 3:
_localctx = new Lookup_StrContext(_localctx);
enterOuterAlt(_localctx, 3);
{
setState(565);
match(OBr);
setState(566);
match(Str);
setState(567);
match(CBr);
setState(569);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,51,_ctx) ) {
case 1:
{
setState(568);
match(QMark);
}
break;
}
}
break;
case 4:
_localctx = new Lookup_IdContext(_localctx);
enterOuterAlt(_localctx, 4);
{
setState(571);
match(OBr);
setState(572);
match(Id);
setState(573);
match(CBr);
setState(575);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,52,_ctx) ) {
case 1:
{
setState(574);
match(QMark);
}
break;
}
}
break;
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class IdContext extends ParserRuleContext {
public TerminalNode Id() { return getToken(LiquidParser.Id, 0); }
public TerminalNode CaptureStart() { return getToken(LiquidParser.CaptureStart, 0); }
public TerminalNode CaptureEnd() { return getToken(LiquidParser.CaptureEnd, 0); }
public TerminalNode CommentStart() { return getToken(LiquidParser.CommentStart, 0); }
public TerminalNode CommentEnd() { return getToken(LiquidParser.CommentEnd, 0); }
public TerminalNode RawStart() { return getToken(LiquidParser.RawStart, 0); }
public TerminalNode RawEnd() { return getToken(LiquidParser.RawEnd, 0); }
public TerminalNode IfStart() { return getToken(LiquidParser.IfStart, 0); }
public TerminalNode Elsif() { return getToken(LiquidParser.Elsif, 0); }
public TerminalNode IfEnd() { return getToken(LiquidParser.IfEnd, 0); }
public TerminalNode UnlessStart() { return getToken(LiquidParser.UnlessStart, 0); }
public TerminalNode UnlessEnd() { return getToken(LiquidParser.UnlessEnd, 0); }
public TerminalNode Else() { return getToken(LiquidParser.Else, 0); }
public TerminalNode Contains() { return getToken(LiquidParser.Contains, 0); }
public TerminalNode CaseStart() { return getToken(LiquidParser.CaseStart, 0); }
public TerminalNode CaseEnd() { return getToken(LiquidParser.CaseEnd, 0); }
public TerminalNode When() { return getToken(LiquidParser.When, 0); }
public TerminalNode Cycle() { return getToken(LiquidParser.Cycle, 0); }
public TerminalNode ForStart() { return getToken(LiquidParser.ForStart, 0); }
public TerminalNode ForEnd() { return getToken(LiquidParser.ForEnd, 0); }
public TerminalNode In() { return getToken(LiquidParser.In, 0); }
public TerminalNode And() { return getToken(LiquidParser.And, 0); }
public TerminalNode Or() { return getToken(LiquidParser.Or, 0); }
public TerminalNode TableStart() { return getToken(LiquidParser.TableStart, 0); }
public TerminalNode TableEnd() { return getToken(LiquidParser.TableEnd, 0); }
public TerminalNode Assign() { return getToken(LiquidParser.Assign, 0); }
public TerminalNode Include() { return getToken(LiquidParser.Include, 0); }
public TerminalNode With() { return getToken(LiquidParser.With, 0); }
public TerminalNode Offset() { return getToken(LiquidParser.Offset, 0); }
public TerminalNode Continue() { return getToken(LiquidParser.Continue, 0); }
public TerminalNode Reversed() { return getToken(LiquidParser.Reversed, 0); }
public TerminalNode BlockId() { return getToken(LiquidParser.BlockId, 0); }
public TerminalNode EndBlockId() { return getToken(LiquidParser.EndBlockId, 0); }
public TerminalNode SimpleTagId() { return getToken(LiquidParser.SimpleTagId, 0); }
public IdContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_id; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterId(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitId(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitId(this);
else return visitor.visitChildren(this);
}
}
public final IdContext id() throws RecognitionException {
IdContext _localctx = new IdContext(_ctx, getState());
enterRule(_localctx, 78, RULE_id);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(579);
_la = _input.LA(1);
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Id) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (RawEnd - 64)))) != 0)) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Id2Context extends ParserRuleContext {
public IdContext id() {
return getRuleContext(IdContext.class,0);
}
public TerminalNode Empty() { return getToken(LiquidParser.Empty, 0); }
public TerminalNode Nil() { return getToken(LiquidParser.Nil, 0); }
public TerminalNode True() { return getToken(LiquidParser.True, 0); }
public TerminalNode False() { return getToken(LiquidParser.False, 0); }
public Id2Context(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_id2; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterId2(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitId2(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitId2(this);
else return visitor.visitChildren(this);
}
}
public final Id2Context id2() throws RecognitionException {
Id2Context _localctx = new Id2Context(_ctx, getState());
enterRule(_localctx, 80, RULE_id2);
try {
setState(586);
_errHandler.sync(this);
switch (_input.LA(1)) {
case BlockId:
case EndBlockId:
case SimpleTagId:
case Contains:
case In:
case And:
case Or:
case With:
case Offset:
case Continue:
case Reversed:
case Id:
case CaptureStart:
case CaptureEnd:
case CommentStart:
case CommentEnd:
case RawStart:
case IfStart:
case Elsif:
case IfEnd:
case UnlessStart:
case UnlessEnd:
case Else:
case CaseStart:
case CaseEnd:
case When:
case Cycle:
case ForStart:
case ForEnd:
case TableStart:
case TableEnd:
case Assign:
case Include:
case RawEnd:
enterOuterAlt(_localctx, 1);
{
setState(581);
id();
}
break;
case Empty:
enterOuterAlt(_localctx, 2);
{
setState(582);
match(Empty);
}
break;
case Nil:
enterOuterAlt(_localctx, 3);
{
setState(583);
match(Nil);
}
break;
case True:
enterOuterAlt(_localctx, 4);
{
setState(584);
match(True);
}
break;
case False:
enterOuterAlt(_localctx, 5);
{
setState(585);
match(False);
}
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 class IndexContext extends ParserRuleContext {
public TerminalNode Dot() { return getToken(LiquidParser.Dot, 0); }
public Id2Context id2() {
return getRuleContext(Id2Context.class,0);
}
public TerminalNode OBr() { return getToken(LiquidParser.OBr, 0); }
public ExprContext expr() {
return getRuleContext(ExprContext.class,0);
}
public TerminalNode CBr() { return getToken(LiquidParser.CBr, 0); }
public IndexContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_index; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterIndex(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitIndex(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitIndex(this);
else return visitor.visitChildren(this);
}
}
public final IndexContext index() throws RecognitionException {
IndexContext _localctx = new IndexContext(_ctx, getState());
enterRule(_localctx, 82, RULE_index);
try {
setState(594);
_errHandler.sync(this);
switch (_input.LA(1)) {
case Dot:
enterOuterAlt(_localctx, 1);
{
setState(588);
match(Dot);
setState(589);
id2();
}
break;
case OBr:
enterOuterAlt(_localctx, 2);
{
setState(590);
match(OBr);
setState(591);
expr(0);
setState(592);
match(CBr);
}
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 class Other_tag_parametersContext extends ParserRuleContext {
public Other_than_tag_endContext other_than_tag_end() {
return getRuleContext(Other_than_tag_endContext.class,0);
}
public Other_tag_parametersContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_other_tag_parameters; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOther_tag_parameters(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOther_tag_parameters(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOther_tag_parameters(this);
else return visitor.visitChildren(this);
}
}
public final Other_tag_parametersContext other_tag_parameters() throws RecognitionException {
Other_tag_parametersContext _localctx = new Other_tag_parametersContext(_ctx, getState());
enterRule(_localctx, 84, RULE_other_tag_parameters);
try {
enterOuterAlt(_localctx, 1);
{
setState(596);
other_than_tag_end();
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class Other_than_tag_endContext extends ParserRuleContext {
public List TagEnd() { return getTokens(LiquidParser.TagEnd); }
public TerminalNode TagEnd(int i) {
return getToken(LiquidParser.TagEnd, i);
}
public Other_than_tag_endContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_other_than_tag_end; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOther_than_tag_end(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOther_than_tag_end(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOther_than_tag_end(this);
else return visitor.visitChildren(this);
}
}
public final Other_than_tag_endContext other_than_tag_end() throws RecognitionException {
Other_than_tag_endContext _localctx = new Other_than_tag_endContext(_ctx, getState());
enterRule(_localctx, 86, RULE_other_than_tag_end);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(599);
_errHandler.sync(this);
_la = _input.LA(1);
do {
{
{
setState(598);
_la = _input.LA(1);
if ( _la <= 0 || (_la==TagEnd) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
setState(601);
_errHandler.sync(this);
_la = _input.LA(1);
} while ( (((_la) & ~0x3f) == 0 && ((1L << _la) & ((1L << BlockId) | (1L << EndBlockId) | (1L << SimpleTagId) | (1L << InvalidEndBlockId) | (1L << MisMatchedEndBlockId) | (1L << OutStart) | (1L << TagStart) | (1L << Other) | (1L << OutStart2) | (1L << OutEnd) | (1L << Str) | (1L << DotDot) | (1L << Dot) | (1L << NEq) | (1L << Eq) | (1L << EqSign) | (1L << GtEq) | (1L << Gt) | (1L << LtEq) | (1L << Lt) | (1L << Minus) | (1L << Pipe) | (1L << Col) | (1L << Comma) | (1L << OPar) | (1L << CPar) | (1L << OBr) | (1L << CBr) | (1L << QMark) | (1L << PathSep) | (1L << DoubleNum) | (1L << LongNum) | (1L << WS) | (1L << Contains) | (1L << In) | (1L << And) | (1L << Or) | (1L << True) | (1L << False) | (1L << Nil) | (1L << With) | (1L << Offset) | (1L << Continue) | (1L << Reversed) | (1L << Empty) | (1L << Blank) | (1L << IdChain) | (1L << Id) | (1L << WS2) | (1L << InvalidEndTag) | (1L << CaptureStart) | (1L << CaptureEnd) | (1L << CommentStart) | (1L << CommentEnd) | (1L << RawStart) | (1L << IfStart) | (1L << Elsif) | (1L << IfEnd) | (1L << UnlessStart) | (1L << UnlessEnd) | (1L << Else) | (1L << CaseStart))) != 0) || ((((_la - 64)) & ~0x3f) == 0 && ((1L << (_la - 64)) & ((1L << (CaseEnd - 64)) | (1L << (When - 64)) | (1L << (Cycle - 64)) | (1L << (ForStart - 64)) | (1L << (ForEnd - 64)) | (1L << (TableStart - 64)) | (1L << (TableEnd - 64)) | (1L << (Assign - 64)) | (1L << (Include - 64)) | (1L << (InvalidTagId - 64)) | (1L << (RawEnd - 64)) | (1L << (OtherRaw - 64)))) != 0) );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class FilenameContext extends ParserRuleContext {
public FilenameContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_filename; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterFilename(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitFilename(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitFilename(this);
else return visitor.visitChildren(this);
}
}
public final FilenameContext filename() throws RecognitionException {
FilenameContext _localctx = new FilenameContext(_ctx, getState());
enterRule(_localctx, 88, RULE_filename);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(604);
_errHandler.sync(this);
_alt = 1+1;
do {
switch (_alt) {
case 1+1:
{
{
setState(603);
matchWildcard();
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(606);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,57,_ctx);
} while ( _alt!=1 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OutStartContext extends ParserRuleContext {
public TerminalNode OutStart() { return getToken(LiquidParser.OutStart, 0); }
public TerminalNode OutStart2() { return getToken(LiquidParser.OutStart2, 0); }
public OutStartContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_outStart; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOutStart(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOutStart(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOutStart(this);
else return visitor.visitChildren(this);
}
}
public final OutStartContext outStart() throws RecognitionException {
OutStartContext _localctx = new OutStartContext(_ctx, getState());
enterRule(_localctx, 90, RULE_outStart);
int _la;
try {
enterOuterAlt(_localctx, 1);
{
setState(608);
_la = _input.LA(1);
if ( !(_la==OutStart || _la==OutStart2) ) {
_errHandler.recoverInline(this);
}
else {
if ( _input.LA(1)==Token.EOF ) matchedEOF = true;
_errHandler.reportMatch(this);
consume();
}
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public static class OtherContext extends ParserRuleContext {
public List Other() { return getTokens(LiquidParser.Other); }
public TerminalNode Other(int i) {
return getToken(LiquidParser.Other, i);
}
public OtherContext(ParserRuleContext parent, int invokingState) {
super(parent, invokingState);
}
@Override public int getRuleIndex() { return RULE_other; }
@Override
public void enterRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).enterOther(this);
}
@Override
public void exitRule(ParseTreeListener listener) {
if ( listener instanceof LiquidParserListener ) ((LiquidParserListener)listener).exitOther(this);
}
@Override
public T accept(ParseTreeVisitor extends T> visitor) {
if ( visitor instanceof LiquidParserVisitor ) return ((LiquidParserVisitor extends T>)visitor).visitOther(this);
else return visitor.visitChildren(this);
}
}
public final OtherContext other() throws RecognitionException {
OtherContext _localctx = new OtherContext(_ctx, getState());
enterRule(_localctx, 92, RULE_other);
try {
int _alt;
enterOuterAlt(_localctx, 1);
{
setState(611);
_errHandler.sync(this);
_alt = 1;
do {
switch (_alt) {
case 1:
{
{
setState(610);
match(Other);
}
}
break;
default:
throw new NoViableAltException(this);
}
setState(613);
_errHandler.sync(this);
_alt = getInterpreter().adaptivePredict(_input,58,_ctx);
} while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER );
}
}
catch (RecognitionException re) {
_localctx.exception = re;
_errHandler.reportError(this, re);
_errHandler.recover(this, re);
}
finally {
exitRule();
}
return _localctx;
}
public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex) {
switch (ruleIndex) {
case 28:
return include_tag_sempred((Include_tagContext)_localctx, predIndex);
case 36:
return expr_sempred((ExprContext)_localctx, predIndex);
}
return true;
}
private boolean include_tag_sempred(Include_tagContext _localctx, int predIndex) {
switch (predIndex) {
case 0:
return isLiquid();
case 1:
return isJekyll();
}
return true;
}
private boolean expr_sempred(ExprContext _localctx, int predIndex) {
switch (predIndex) {
case 2:
return precpred(_ctx, 5);
case 3:
return precpred(_ctx, 4);
case 4:
return precpred(_ctx, 3);
case 5:
return precpred(_ctx, 2);
}
return true;
}
public static final String _serializedATN =
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\3M\u026a\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\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
"\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36\t\36\4\37\t\37\4 \t \4!"+
"\t!\4\"\t\"\4#\t#\4$\t$\4%\t%\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4"+
",\t,\4-\t-\4.\t.\4/\t/\4\60\t\60\3\2\3\2\3\2\3\3\7\3e\n\3\f\3\16\3h\13"+
"\3\3\4\3\4\3\4\3\4\5\4n\n\4\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3\5\3"+
"\5\3\5\3\5\5\5}\n\5\3\6\3\6\3\6\3\6\3\7\3\7\3\7\5\7\u0086\n\7\3\7\3\7"+
"\7\7\u008a\n\7\f\7\16\7\u008d\13\7\3\7\3\7\3\7\3\7\5\7\u0093\n\7\3\b\3"+
"\b\3\b\5\b\u0098\n\b\3\b\3\b\7\b\u009c\n\b\f\b\16\b\u009f\13\b\3\b\3\b"+
"\3\b\3\b\3\b\3\b\3\b\5\b\u00a8\n\b\3\b\3\b\7\b\u00ac\n\b\f\b\16\b\u00af"+
"\13\b\3\b\3\b\3\b\3\b\3\b\3\b\3\b\5\b\u00b8\n\b\3\b\3\b\7\b\u00bc\n\b"+
"\f\b\16\b\u00bf\13\b\3\b\3\b\3\b\3\b\5\b\u00c5\n\b\3\b\3\b\3\b\3\b\3\b"+
"\5\b\u00cc\n\b\3\t\3\t\3\t\5\t\u00d1\n\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3"+
"\n\3\13\7\13\u00dc\n\13\f\13\16\13\u00df\13\13\3\f\3\f\3\f\3\f\7\f\u00e5"+
"\n\f\f\f\16\f\u00e8\13\f\3\f\3\f\3\f\3\f\3\r\7\r\u00ef\n\r\f\r\16\r\u00f2"+
"\13\r\3\16\3\16\3\16\3\16\3\16\3\16\7\16\u00fa\n\16\f\16\16\16\u00fd\13"+
"\16\3\16\5\16\u0100\n\16\3\16\3\16\3\16\3\16\3\17\3\17\3\17\3\17\3\17"+
"\3\17\3\20\3\20\3\20\3\20\3\20\3\21\3\21\3\21\3\21\3\21\3\21\5\21\u0117"+
"\n\21\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\5\22\u0122\n\22\3\22"+
"\6\22\u0125\n\22\r\22\16\22\u0126\3\22\5\22\u012a\n\22\3\22\3\22\3\22"+
"\3\22\3\23\3\23\3\23\3\23\3\23\7\23\u0135\n\23\f\23\16\23\u0138\13\23"+
"\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\7\24\u0143\n\24\f\24\16"+
"\24\u0146\13\24\3\24\3\24\3\25\3\25\3\25\5\25\u014d\n\25\3\26\3\26\5\26"+
"\u0151\n\26\3\27\3\27\3\27\3\27\3\27\3\27\5\27\u0159\n\27\3\27\7\27\u015c"+
"\n\27\f\27\16\27\u015f\13\27\3\27\3\27\3\27\3\27\3\27\3\27\3\30\3\30\3"+
"\30\3\30\3\30\3\30\3\30\3\30\3\30\3\30\5\30\u0171\n\30\3\30\7\30\u0174"+
"\n\30\f\30\16\30\u0177\13\30\3\30\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3"+
"\31\3\31\3\31\5\31\u0184\n\31\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\32"+
"\3\32\5\32\u018f\n\32\3\33\3\33\3\33\3\33\3\33\3\33\5\33\u0197\n\33\3"+
"\34\3\34\3\34\3\34\3\34\3\34\7\34\u019f\n\34\f\34\16\34\u01a2\13\34\3"+
"\34\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3"+
"\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\5\35\u01bc\n\35\3\36"+
"\3\36\3\36\3\36\3\36\3\36\5\36\u01c4\n\36\3\36\3\36\3\36\3\36\3\36\3\36"+
"\3\36\7\36\u01cd\n\36\f\36\16\36\u01d0\13\36\3\36\3\36\5\36\u01d4\n\36"+
"\3\37\3\37\5\37\u01d8\n\37\3 \3 \3 \3 \3!\3!\3!\7!\u01e1\n!\f!\16!\u01e4"+
"\13!\3!\3!\3\"\3\"\3\"\5\"\u01eb\n\"\3#\3#\3#\3#\7#\u01f1\n#\f#\16#\u01f4"+
"\13#\3$\3$\3$\3$\3$\5$\u01fb\n$\3%\3%\3%\3%\3%\3%\7%\u0203\n%\f%\16%\u0206"+
"\13%\3%\3%\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\3&\7&\u0219\n&\f"+
"&\16&\u021c\13&\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\3\'\5"+
"\'\u022b\n\'\3(\3(\3(\7(\u0230\n(\f(\16(\u0233\13(\3(\5(\u0236\n(\3(\3"+
"(\3(\3(\5(\u023c\n(\3(\3(\3(\3(\5(\u0242\n(\5(\u0244\n(\3)\3)\3*\3*\3"+
"*\3*\3*\5*\u024d\n*\3+\3+\3+\3+\3+\3+\5+\u0255\n+\3,\3,\3-\6-\u025a\n"+
"-\r-\16-\u025b\3.\6.\u025f\n.\r.\16.\u0260\3/\3/\3\60\6\60\u0266\n\60"+
"\r\60\16\60\u0267\3\60\b\u008b\u009d\u00ad\u00bd\u00e6\u0260\3J\61\2\4"+
"\6\b\n\f\16\20\22\24\26\30\32\34\36 \"$&(*,.\60\62\64\668:<>@BDFHJLNP"+
"RTVXZ\\^\2\n\3\2\t\t\4\2\33\33((\3\2\24\27\3\2\21\22\3\2\'(\b\2\3\5%("+
",/\63\63\66JLL\3\2\r\r\4\2\b\b\13\13\2\u0295\2`\3\2\2\2\4f\3\2\2\2\6m"+
"\3\2\2\2\b|\3\2\2\2\n~\3\2\2\2\f\u0092\3\2\2\2\16\u00cb\3\2\2\2\20\u00cd"+
"\3\2\2\2\22\u00d4\3\2\2\2\24\u00dd\3\2\2\2\26\u00e0\3\2\2\2\30\u00f0\3"+
"\2\2\2\32\u00f3\3\2\2\2\34\u0105\3\2\2\2\36\u010b\3\2\2\2 \u0110\3\2\2"+
"\2\"\u011c\3\2\2\2$\u012f\3\2\2\2&\u013c\3\2\2\2(\u014c\3\2\2\2*\u0150"+
"\3\2\2\2,\u0152\3\2\2\2.\u0166\3\2\2\2\60\u017e\3\2\2\2\62\u018e\3\2\2"+
"\2\64\u0196\3\2\2\2\66\u0198\3\2\2\28\u01bb\3\2\2\2:\u01d3\3\2\2\2<\u01d7"+
"\3\2\2\2>\u01d9\3\2\2\2@\u01dd\3\2\2\2B\u01e7\3\2\2\2D\u01ec\3\2\2\2F"+
"\u01fa\3\2\2\2H\u01fc\3\2\2\2J\u0209\3\2\2\2L\u022a\3\2\2\2N\u0243\3\2"+
"\2\2P\u0245\3\2\2\2R\u024c\3\2\2\2T\u0254\3\2\2\2V\u0256\3\2\2\2X\u0259"+
"\3\2\2\2Z\u025e\3\2\2\2\\\u0262\3\2\2\2^\u0265\3\2\2\2`a\5\4\3\2ab\7\2"+
"\2\3b\3\3\2\2\2ce\5\6\4\2dc\3\2\2\2eh\3\2\2\2fd\3\2\2\2fg\3\2\2\2g\5\3"+
"\2\2\2hf\3\2\2\2in\5\b\5\2jn\5@!\2kn\5H%\2ln\5^\60\2mi\3\2\2\2mj\3\2\2"+
"\2mk\3\2\2\2ml\3\2\2\2n\7\3\2\2\2o}\5\22\n\2p}\5\26\f\2q}\5\32\16\2r}"+
"\5 \21\2s}\5\"\22\2t}\5&\24\2u}\5*\26\2v}\5\66\34\2w}\58\35\2x}\5:\36"+
"\2y}\5\n\6\2z}\5\f\7\2{}\5\20\t\2|o\3\2\2\2|p\3\2\2\2|q\3\2\2\2|r\3\2"+
"\2\2|s\3\2\2\2|t\3\2\2\2|u\3\2\2\2|v\3\2\2\2|w\3\2\2\2|x\3\2\2\2|y\3\2"+
"\2\2|z\3\2\2\2|{\3\2\2\2}\t\3\2\2\2~\177\7\t\2\2\177\u0080\7.\2\2\u0080"+
"\u0081\7\r\2\2\u0081\13\3\2\2\2\u0082\u0083\7\t\2\2\u0083\u0085\7\3\2"+
"\2\u0084\u0086\5V,\2\u0085\u0084\3\2\2\2\u0085\u0086\3\2\2\2\u0086\u0087"+
"\3\2\2\2\u0087\u008b\7\r\2\2\u0088\u008a\5\6\4\2\u0089\u0088\3\2\2\2\u008a"+
"\u008d\3\2\2\2\u008b\u008c\3\2\2\2\u008b\u0089\3\2\2\2\u008c\u008e\3\2"+
"\2\2\u008d\u008b\3\2\2\2\u008e\u008f\7\t\2\2\u008f\u0090\7\4\2\2\u0090"+
"\u0093\7\r\2\2\u0091\u0093\5\16\b\2\u0092\u0082\3\2\2\2\u0092\u0091\3"+
"\2\2\2\u0093\r\3\2\2\2\u0094\u0095\7\t\2\2\u0095\u0097\7\3\2\2\u0096\u0098"+
"\5V,\2\u0097\u0096\3\2\2\2\u0097\u0098\3\2\2\2\u0098\u0099\3\2\2\2\u0099"+
"\u009d\7\r\2\2\u009a\u009c\5\6\4\2\u009b\u009a\3\2\2\2\u009c\u009f\3\2"+
"\2\2\u009d\u009e\3\2\2\2\u009d\u009b\3\2\2\2\u009e\u00a0\3\2\2\2\u009f"+
"\u009d\3\2\2\2\u00a0\u00a1\7\t\2\2\u00a1\u00a2\7\7\2\2\u00a2\u00a3\7\r"+
"\2\2\u00a3\u00cc\b\b\1\2\u00a4\u00a5\7\t\2\2\u00a5\u00a7\7\3\2\2\u00a6"+
"\u00a8\5V,\2\u00a7\u00a6\3\2\2\2\u00a7\u00a8\3\2\2\2\u00a8\u00a9\3\2\2"+
"\2\u00a9\u00ad\7\r\2\2\u00aa\u00ac\5\6\4\2\u00ab\u00aa\3\2\2\2\u00ac\u00af"+
"\3\2\2\2\u00ad\u00ae\3\2\2\2\u00ad\u00ab\3\2\2\2\u00ae\u00b0\3\2\2\2\u00af"+
"\u00ad\3\2\2\2\u00b0\u00b1\7\t\2\2\u00b1\u00b2\7\6\2\2\u00b2\u00b3\7\r"+
"\2\2\u00b3\u00cc\b\b\1\2\u00b4\u00b5\7\t\2\2\u00b5\u00b7\7\3\2\2\u00b6"+
"\u00b8\5V,\2\u00b7\u00b6\3\2\2\2\u00b7\u00b8\3\2\2\2\u00b8\u00b9\3\2\2"+
"\2\u00b9\u00bd\7\r\2\2\u00ba\u00bc\5\6\4\2\u00bb\u00ba\3\2\2\2\u00bc\u00bf"+
"\3\2\2\2\u00bd\u00be\3\2\2\2\u00bd\u00bb\3\2\2\2\u00be\u00c0\3\2\2\2\u00bf"+
"\u00bd\3\2\2\2\u00c0\u00cc\b\b\1\2\u00c1\u00c2\7\t\2\2\u00c2\u00c4\7K"+
"\2\2\u00c3\u00c5\5V,\2\u00c4\u00c3\3\2\2\2\u00c4\u00c5\3\2\2\2\u00c5\u00c6"+
"\3\2\2\2\u00c6\u00c7\7\r\2\2\u00c7\u00cc\b\b\1\2\u00c8\u00c9\7\t\2\2\u00c9"+
"\u00ca\7\65\2\2\u00ca\u00cc\b\b\1\2\u00cb\u0094\3\2\2\2\u00cb\u00a4\3"+
"\2\2\2\u00cb\u00b4\3\2\2\2\u00cb\u00c1\3\2\2\2\u00cb\u00c8\3\2\2\2\u00cc"+
"\17\3\2\2\2\u00cd\u00ce\7\t\2\2\u00ce\u00d0\7\5\2\2\u00cf\u00d1\5V,\2"+
"\u00d0\u00cf\3\2\2\2\u00d0\u00d1\3\2\2\2\u00d1\u00d2\3\2\2\2\u00d2\u00d3"+
"\7\r\2\2\u00d3\21\3\2\2\2\u00d4\u00d5\7\t\2\2\u00d5\u00d6\7:\2\2\u00d6"+
"\u00d7\5\24\13\2\u00d7\u00d8\7L\2\2\u00d8\u00d9\7\r\2\2\u00d9\23\3\2\2"+
"\2\u00da\u00dc\7M\2\2\u00db\u00da\3\2\2\2\u00dc\u00df\3\2\2\2\u00dd\u00db"+
"\3\2\2\2\u00dd\u00de\3\2\2\2\u00de\25\3\2\2\2\u00df\u00dd\3\2\2\2\u00e0"+
"\u00e1\7\t\2\2\u00e1\u00e2\78\2\2\u00e2\u00e6\7\r\2\2\u00e3\u00e5\13\2"+
"\2\2\u00e4\u00e3\3\2\2\2\u00e5\u00e8\3\2\2\2\u00e6\u00e7\3\2\2\2\u00e6"+
"\u00e4\3\2\2\2\u00e7\u00e9\3\2\2\2\u00e8\u00e6\3\2\2\2\u00e9\u00ea\7\t"+
"\2\2\u00ea\u00eb\79\2\2\u00eb\u00ec\7\r\2\2\u00ec\27\3\2\2\2\u00ed\u00ef"+
"\n\2\2\2\u00ee\u00ed\3\2\2\2\u00ef\u00f2\3\2\2\2\u00f0\u00ee\3\2\2\2\u00f0"+
"\u00f1\3\2\2\2\u00f1\31\3\2\2\2\u00f2\u00f0\3\2\2\2\u00f3\u00f4\7\t\2"+
"\2\u00f4\u00f5\7;\2\2\u00f5\u00f6\5J&\2\u00f6\u00f7\7\r\2\2\u00f7\u00fb"+
"\5\4\3\2\u00f8\u00fa\5\34\17\2\u00f9\u00f8\3\2\2\2\u00fa\u00fd\3\2\2\2"+
"\u00fb\u00f9\3\2\2\2\u00fb\u00fc\3\2\2\2\u00fc\u00ff\3\2\2\2\u00fd\u00fb"+
"\3\2\2\2\u00fe\u0100\5\36\20\2\u00ff\u00fe\3\2\2\2\u00ff\u0100\3\2\2\2"+
"\u0100\u0101\3\2\2\2\u0101\u0102\7\t\2\2\u0102\u0103\7=\2\2\u0103\u0104"+
"\7\r\2\2\u0104\33\3\2\2\2\u0105\u0106\7\t\2\2\u0106\u0107\7<\2\2\u0107"+
"\u0108\5J&\2\u0108\u0109\7\r\2\2\u0109\u010a\5\4\3\2\u010a\35\3\2\2\2"+
"\u010b\u010c\7\t\2\2\u010c\u010d\7@\2\2\u010d\u010e\7\r\2\2\u010e\u010f"+
"\5\4\3\2\u010f\37\3\2\2\2\u0110\u0111\7\t\2\2\u0111\u0112\7>\2\2\u0112"+
"\u0113\5J&\2\u0113\u0114\7\r\2\2\u0114\u0116\5\4\3\2\u0115\u0117\5\36"+
"\20\2\u0116\u0115\3\2\2\2\u0116\u0117\3\2\2\2\u0117\u0118\3\2\2\2\u0118"+
"\u0119\7\t\2\2\u0119\u011a\7?\2\2\u011a\u011b\7\r\2\2\u011b!\3\2\2\2\u011c"+
"\u011d\7\t\2\2\u011d\u011e\7A\2\2\u011e\u011f\5J&\2\u011f\u0121\7\r\2"+
"\2\u0120\u0122\5^\60\2\u0121\u0120\3\2\2\2\u0121\u0122\3\2\2\2\u0122\u0124"+
"\3\2\2\2\u0123\u0125\5$\23\2\u0124\u0123\3\2\2\2\u0125\u0126\3\2\2\2\u0126"+
"\u0124\3\2\2\2\u0126\u0127\3\2\2\2\u0127\u0129\3\2\2\2\u0128\u012a\5\36"+
"\20\2\u0129\u0128\3\2\2\2\u0129\u012a\3\2\2\2\u012a\u012b\3\2\2\2\u012b"+
"\u012c\7\t\2\2\u012c\u012d\7B\2\2\u012d\u012e\7\r\2\2\u012e#\3\2\2\2\u012f"+
"\u0130\7\t\2\2\u0130\u0131\7C\2\2\u0131\u0136\5L\'\2\u0132\u0133\t\3\2"+
"\2\u0133\u0135\5L\'\2\u0134\u0132\3\2\2\2\u0135\u0138\3\2\2\2\u0136\u0134"+
"\3\2\2\2\u0136\u0137\3\2\2\2\u0137\u0139\3\2\2\2\u0138\u0136\3\2\2\2\u0139"+
"\u013a\7\r\2\2\u013a\u013b\5\4\3\2\u013b%\3\2\2\2\u013c\u013d\7\t\2\2"+
"\u013d\u013e\7D\2\2\u013e\u013f\5(\25\2\u013f\u0144\5J&\2\u0140\u0141"+
"\7\33\2\2\u0141\u0143\5J&\2\u0142\u0140\3\2\2\2\u0143\u0146\3\2\2\2\u0144"+
"\u0142\3\2\2\2\u0144\u0145\3\2\2\2\u0145\u0147\3\2\2\2\u0146\u0144\3\2"+
"\2\2\u0147\u0148\7\r\2\2\u0148\'\3\2\2\2\u0149\u014a\5J&\2\u014a\u014b"+
"\7\32\2\2\u014b\u014d\3\2\2\2\u014c\u0149\3\2\2\2\u014c\u014d\3\2\2\2"+
"\u014d)\3\2\2\2\u014e\u0151\5,\27\2\u014f\u0151\5.\30\2\u0150\u014e\3"+
"\2\2\2\u0150\u014f\3\2\2\2\u0151+\3\2\2\2\u0152\u0153\7\t\2\2\u0153\u0154"+
"\7E\2\2\u0154\u0155\5P)\2\u0155\u0156\7&\2\2\u0156\u0158\5N(\2\u0157\u0159"+
"\7/\2\2\u0158\u0157\3\2\2\2\u0158\u0159\3\2\2\2\u0159\u015d\3\2\2\2\u015a"+
"\u015c\5\62\32\2\u015b\u015a\3\2\2\2\u015c\u015f\3\2\2\2\u015d\u015b\3"+
"\2\2\2\u015d\u015e\3\2\2\2\u015e\u0160\3\2\2\2\u015f\u015d\3\2\2\2\u0160"+
"\u0161\7\r\2\2\u0161\u0162\5\60\31\2\u0162\u0163\7\t\2\2\u0163\u0164\7"+
"F\2\2\u0164\u0165\7\r\2\2\u0165-\3\2\2\2\u0166\u0167\7\t\2\2\u0167\u0168"+
"\7E\2\2\u0168\u0169\5P)\2\u0169\u016a\7&\2\2\u016a\u016b\7\34\2\2\u016b"+
"\u016c\5J&\2\u016c\u016d\7\17\2\2\u016d\u016e\5J&\2\u016e\u0170\7\35\2"+
"\2\u016f\u0171\7/\2\2\u0170\u016f\3\2\2\2\u0170\u0171\3\2\2\2\u0171\u0175"+
"\3\2\2\2\u0172\u0174\5\62\32\2\u0173\u0172\3\2\2\2\u0174\u0177\3\2\2\2"+
"\u0175\u0173\3\2\2\2\u0175\u0176\3\2\2\2\u0176\u0178\3\2\2\2\u0177\u0175"+
"\3\2\2\2\u0178\u0179\7\r\2\2\u0179\u017a\5\4\3\2\u017a\u017b\7\t\2\2\u017b"+
"\u017c\7F\2\2\u017c\u017d\7\r\2\2\u017d/\3\2\2\2\u017e\u0183\5\4\3\2\u017f"+
"\u0180\7\t\2\2\u0180\u0181\7@\2\2\u0181\u0182\7\r\2\2\u0182\u0184\5\4"+
"\3\2\u0183\u017f\3\2\2\2\u0183\u0184\3\2\2\2\u0184\61\3\2\2\2\u0185\u0186"+
"\7-\2\2\u0186\u0187\7\32\2\2\u0187\u018f\7.\2\2\u0188\u0189\7-\2\2\u0189"+
"\u018a\7\32\2\2\u018a\u018f\5J&\2\u018b\u018c\7\63\2\2\u018c\u018d\7\32"+
"\2\2\u018d\u018f\5J&\2\u018e\u0185\3\2\2\2\u018e\u0188\3\2\2\2\u018e\u018b"+
"\3\2\2\2\u018f\63\3\2\2\2\u0190\u0191\7-\2\2\u0191\u0192\7\32\2\2\u0192"+
"\u0197\5J&\2\u0193\u0194\7\63\2\2\u0194\u0195\7\32\2\2\u0195\u0197\5J"+
"&\2\u0196\u0190\3\2\2\2\u0196\u0193\3\2\2\2\u0197\65\3\2\2\2\u0198\u0199"+
"\7\t\2\2\u0199\u019a\7G\2\2\u019a\u019b\5P)\2\u019b\u019c\7&\2\2\u019c"+
"\u01a0\5N(\2\u019d\u019f\5\64\33\2\u019e\u019d\3\2\2\2\u019f\u01a2\3\2"+
"\2\2\u01a0\u019e\3\2\2\2\u01a0\u01a1\3\2\2\2\u01a1\u01a3\3\2\2\2\u01a2"+
"\u01a0\3\2\2\2\u01a3\u01a4\7\r\2\2\u01a4\u01a5\5\4\3\2\u01a5\u01a6\7\t"+
"\2\2\u01a6\u01a7\7H\2\2\u01a7\u01a8\7\r\2\2\u01a8\67\3\2\2\2\u01a9\u01aa"+
"\7\t\2\2\u01aa\u01ab\7\66\2\2\u01ab\u01ac\5P)\2\u01ac\u01ad\7\r\2\2\u01ad"+
"\u01ae\5\4\3\2\u01ae\u01af\7\t\2\2\u01af\u01b0\7\67\2\2\u01b0\u01b1\7"+
"\r\2\2\u01b1\u01bc\3\2\2\2\u01b2\u01b3\7\t\2\2\u01b3\u01b4\7\66\2\2\u01b4"+
"\u01b5\7\16\2\2\u01b5\u01b6\7\r\2\2\u01b6\u01b7\5\4\3\2\u01b7\u01b8\7"+
"\t\2\2\u01b8\u01b9\7\67\2\2\u01b9\u01ba\7\r\2\2\u01ba\u01bc\3\2\2\2\u01bb"+
"\u01a9\3\2\2\2\u01bb\u01b2\3\2\2\2\u01bc9\3\2\2\2\u01bd\u01be\6\36\2\2"+
"\u01be\u01bf\7\t\2\2\u01bf\u01c0\7J\2\2\u01c0\u01c3\5J&\2\u01c1\u01c2"+
"\7,\2\2\u01c2\u01c4\7\16\2\2\u01c3\u01c1\3\2\2\2\u01c3\u01c4\3\2\2\2\u01c4"+
"\u01c5\3\2\2\2\u01c5\u01c6\7\r\2\2\u01c6\u01d4\3\2\2\2\u01c7\u01c8\6\36"+
"\3\2\u01c8\u01c9\7\t\2\2\u01c9\u01ca\7J\2\2\u01ca\u01ce\5<\37\2\u01cb"+
"\u01cd\5> \2\u01cc\u01cb\3\2\2\2\u01cd\u01d0\3\2\2\2\u01ce\u01cc\3\2\2"+
"\2\u01ce\u01cf\3\2\2\2\u01cf\u01d1\3\2\2\2\u01d0\u01ce\3\2\2\2\u01d1\u01d2"+
"\7\r\2\2\u01d2\u01d4\3\2\2\2\u01d3\u01bd\3\2\2\2\u01d3\u01c7\3\2\2\2\u01d4"+
";\3\2\2\2\u01d5\u01d8\5@!\2\u01d6\u01d8\5Z.\2\u01d7\u01d5\3\2\2\2\u01d7"+
"\u01d6\3\2\2\2\u01d8=\3\2\2\2\u01d9\u01da\5P)\2\u01da\u01db\7\23\2\2\u01db"+
"\u01dc\5J&\2\u01dc?\3\2\2\2\u01dd\u01de\5\\/\2\u01de\u01e2\5J&\2\u01df"+
"\u01e1\5B\"\2\u01e0\u01df\3\2\2\2\u01e1\u01e4\3\2\2\2\u01e2\u01e0\3\2"+
"\2\2\u01e2\u01e3\3\2\2\2\u01e3\u01e5\3\2\2\2\u01e4\u01e2\3\2\2\2\u01e5"+
"\u01e6\7\f\2\2\u01e6A\3\2\2\2\u01e7\u01e8\7\31\2\2\u01e8\u01ea\7\63\2"+
"\2\u01e9\u01eb\5D#\2\u01ea\u01e9\3\2\2\2\u01ea\u01eb\3\2\2\2\u01ebC\3"+
"\2\2\2\u01ec\u01ed\7\32\2\2\u01ed\u01f2\5F$\2\u01ee\u01ef\7\33\2\2\u01ef"+
"\u01f1\5F$\2\u01f0\u01ee\3\2\2\2\u01f1\u01f4\3\2\2\2\u01f2\u01f0\3\2\2"+
"\2\u01f2\u01f3\3\2\2\2\u01f3E\3\2\2\2\u01f4\u01f2\3\2\2\2\u01f5\u01f6"+
"\5R*\2\u01f6\u01f7\7\32\2\2\u01f7\u01f8\5J&\2\u01f8\u01fb\3\2\2\2\u01f9"+
"\u01fb\5J&\2\u01fa\u01f5\3\2\2\2\u01fa\u01f9\3\2\2\2\u01fbG\3\2\2\2\u01fc"+
"\u01fd\7\t\2\2\u01fd\u01fe\7I\2\2\u01fe\u01ff\5P)\2\u01ff\u0200\7\23\2"+
"\2\u0200\u0204\5J&\2\u0201\u0203\5B\"\2\u0202\u0201\3\2\2\2\u0203\u0206"+
"\3\2\2\2\u0204\u0202\3\2\2\2\u0204\u0205\3\2\2\2\u0205\u0207\3\2\2\2\u0206"+
"\u0204\3\2\2\2\u0207\u0208\7\r\2\2\u0208I\3\2\2\2\u0209\u020a\b&\1\2\u020a"+
"\u020b\5L\'\2\u020b\u021a\3\2\2\2\u020c\u020d\f\7\2\2\u020d\u020e\t\4"+
"\2\2\u020e\u0219\5J&\b\u020f\u0210\f\6\2\2\u0210\u0211\t\5\2\2\u0211\u0219"+
"\5J&\7\u0212\u0213\f\5\2\2\u0213\u0214\7%\2\2\u0214\u0219\5J&\6\u0215"+
"\u0216\f\4\2\2\u0216\u0217\t\6\2\2\u0217\u0219\5J&\4\u0218\u020c\3\2\2"+
"\2\u0218\u020f\3\2\2\2\u0218\u0212\3\2\2\2\u0218\u0215\3\2\2\2\u0219\u021c"+
"\3\2\2\2\u021a\u0218\3\2\2\2\u021a\u021b\3\2\2\2\u021bK\3\2\2\2\u021c"+
"\u021a\3\2\2\2\u021d\u022b\7\"\2\2\u021e\u022b\7#\2\2\u021f\u022b\7\16"+
"\2\2\u0220\u022b\7)\2\2\u0221\u022b\7*\2\2\u0222\u022b\7+\2\2\u0223\u022b"+
"\5N(\2\u0224\u022b\7\60\2\2\u0225\u022b\7\61\2\2\u0226\u0227\7\34\2\2"+
"\u0227\u0228\5J&\2\u0228\u0229\7\35\2\2\u0229\u022b\3\2\2\2\u022a\u021d"+
"\3\2\2\2\u022a\u021e\3\2\2\2\u022a\u021f\3\2\2\2\u022a\u0220\3\2\2\2\u022a"+
"\u0221\3\2\2\2\u022a\u0222\3\2\2\2\u022a\u0223\3\2\2\2\u022a\u0224\3\2"+
"\2\2\u022a\u0225\3\2\2\2\u022a\u0226\3\2\2\2\u022bM\3\2\2\2\u022c\u0244"+
"\7\60\2\2\u022d\u0231\5P)\2\u022e\u0230\5T+\2\u022f\u022e\3\2\2\2\u0230"+
"\u0233\3\2\2\2\u0231\u022f\3\2\2\2\u0231\u0232\3\2\2\2\u0232\u0235\3\2"+
"\2\2\u0233\u0231\3\2\2\2\u0234\u0236\7 \2\2\u0235\u0234\3\2\2\2\u0235"+
"\u0236\3\2\2\2\u0236\u0244\3\2\2\2\u0237\u0238\7\36\2\2\u0238\u0239\7"+
"\16\2\2\u0239\u023b\7\37\2\2\u023a\u023c\7 \2\2\u023b\u023a\3\2\2\2\u023b"+
"\u023c\3\2\2\2\u023c\u0244\3\2\2\2\u023d\u023e\7\36\2\2\u023e\u023f\7"+
"\63\2\2\u023f\u0241\7\37\2\2\u0240\u0242\7 \2\2\u0241\u0240\3\2\2\2\u0241"+
"\u0242\3\2\2\2\u0242\u0244\3\2\2\2\u0243\u022c\3\2\2\2\u0243\u022d\3\2"+
"\2\2\u0243\u0237\3\2\2\2\u0243\u023d\3\2\2\2\u0244O\3\2\2\2\u0245\u0246"+
"\t\7\2\2\u0246Q\3\2\2\2\u0247\u024d\5P)\2\u0248\u024d\7\60\2\2\u0249\u024d"+
"\7+\2\2\u024a\u024d\7)\2\2\u024b\u024d\7*\2\2\u024c\u0247\3\2\2\2\u024c"+
"\u0248\3\2\2\2\u024c\u0249\3\2\2\2\u024c\u024a\3\2\2\2\u024c\u024b\3\2"+
"\2\2\u024dS\3\2\2\2\u024e\u024f\7\20\2\2\u024f\u0255\5R*\2\u0250\u0251"+
"\7\36\2\2\u0251\u0252\5J&\2\u0252\u0253\7\37\2\2\u0253\u0255\3\2\2\2\u0254"+
"\u024e\3\2\2\2\u0254\u0250\3\2\2\2\u0255U\3\2\2\2\u0256\u0257\5X-\2\u0257"+
"W\3\2\2\2\u0258\u025a\n\b\2\2\u0259\u0258\3\2\2\2\u025a\u025b\3\2\2\2"+
"\u025b\u0259\3\2\2\2\u025b\u025c\3\2\2\2\u025cY\3\2\2\2\u025d\u025f\13"+
"\2\2\2\u025e\u025d\3\2\2\2\u025f\u0260\3\2\2\2\u0260\u0261\3\2\2\2\u0260"+
"\u025e\3\2\2\2\u0261[\3\2\2\2\u0262\u0263\t\t\2\2\u0263]\3\2\2\2\u0264"+
"\u0266\7\n\2\2\u0265\u0264\3\2\2\2\u0266\u0267\3\2\2\2\u0267\u0265\3\2"+
"\2\2\u0267\u0268\3\2\2\2\u0268_\3\2\2\2=fm|\u0085\u008b\u0092\u0097\u009d"+
"\u00a7\u00ad\u00b7\u00bd\u00c4\u00cb\u00d0\u00dd\u00e6\u00f0\u00fb\u00ff"+
"\u0116\u0121\u0126\u0129\u0136\u0144\u014c\u0150\u0158\u015d\u0170\u0175"+
"\u0183\u018e\u0196\u01a0\u01bb\u01c3\u01ce\u01d3\u01d7\u01e2\u01ea\u01f2"+
"\u01fa\u0204\u0218\u021a\u022a\u0231\u0235\u023b\u0241\u0243\u024c\u0254"+
"\u025b\u0260\u0267";
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