protected void begin_with_doc(
Node node
)
{
try { // for error handling
match(COLON);
{
switch ( LA(1) )
{
case EOL:
case EOS:
{
eos();
docstring(node);
break;
}
case INDENT:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
match(INDENT);
}
catch (RecognitionException ex)
{
if (0 == inputState.guessing)
{
reportError(ex, "begin_with_doc");
recover(ex,tokenSet_44_);
}
else
{
throw ex;
}
}
}