AST __t12 = _t;
GrammarAST tmp6_AST_in = (GrammarAST)_t;
match(_t,OPTIONS);
_t = _t.getFirstChild();
GrammarAST tmp7_AST_in = (GrammarAST)_t;
if ( _t==null ) throw new MismatchedTokenException();
_t = _t.getNextSibling();
_t = __t12;
_t = _t.getNextSibling();
break;
}
case TOKENS:
case RULE:
case SCOPE:
case IMPORT:
case AMPERSAND:
{
break;
}
default:
{
throw new NoViableAltException(_t);
}
}
}
{
if (_t==null) _t=ASTNULL;
switch ( _t.getType()) {
case IMPORT:
{
AST __t14 = _t;
GrammarAST tmp8_AST_in = (GrammarAST)_t;
match(_t,IMPORT);
_t = _t.getFirstChild();
GrammarAST tmp9_AST_in = (GrammarAST)_t;
if ( _t==null ) throw new MismatchedTokenException();
_t = _t.getNextSibling();
_t = __t14;
_t = _t.getNextSibling();
break;
}
case TOKENS:
case RULE:
case SCOPE:
case AMPERSAND:
{
break;
}
default:
{
throw new NoViableAltException(_t);
}
}
}
{
if (_t==null) _t=ASTNULL;
switch ( _t.getType()) {
case TOKENS:
{
AST __t16 = _t;
GrammarAST tmp10_AST_in = (GrammarAST)_t;
match(_t,TOKENS);
_t = _t.getFirstChild();
GrammarAST tmp11_AST_in = (GrammarAST)_t;
if ( _t==null ) throw new MismatchedTokenException();
_t = _t.getNextSibling();
_t = __t16;
_t = _t.getNextSibling();
break;
}