return yyColumn.chunk5.fTemplateStat;
}
/** Actually parse org.netbeans.modules.scala.core.rats.ParserScala.TemplateStat. */
private Result pTemplateStat$1(final int yyStart) throws IOException {
Result yyResult;
Node yyValue;
ParseError yyError = ParseError.DUMMY;
// Alternative 1.
yyResult = pImport(yyStart);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Node v$g$1 = yyResult.semanticValue();
yyValue = GNode.create("TemplateStat", v$g$1);
yyValue.setLocation(location(yyStart));
return yyResult.createValue(yyValue, yyError);
}
// Alternative 2.
yyResult = p$$Shared1(yyStart);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Pair<Node> v$g$2 = yyResult.semanticValue();
yyResult = p$$Shared3(yyResult.index);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Pair<Node> v$g$3 = yyResult.semanticValue();
final int yyChoice1 = yyResult.index;
// Nested alternative 1.
yyResult = pDef(yyChoice1);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Node v$g$4 = yyResult.semanticValue();
yyValue = GNode.create("TemplateStat", v$g$2, v$g$3, v$g$4);
yyValue.setLocation(location(yyStart));
return yyResult.createValue(yyValue, yyError);
}
// Nested alternative 2.
yyResult = pDcl(yyChoice1);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Node v$g$5 = yyResult.semanticValue();
yyValue = GNode.create("TemplateStat", v$g$2, v$g$3, v$g$5);
yyValue.setLocation(location(yyStart));
return yyResult.createValue(yyValue, yyError);
}
}
}
// Alternative 3.
yyResult = pExpr(yyStart);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Node v$g$6 = yyResult.semanticValue();
yyValue = GNode.create("TemplateStat", v$g$6);
yyValue.setLocation(location(yyStart));
return yyResult.createValue(yyValue, yyError);
}
// Alternative 4.
yyValue = GNode.create("TemplateStat", false);