// Alternative <ScalaPatterns>.
yyResult = pScalaPatterns(yyStart);
yyError = yyResult.select(yyError);
if (yyResult.hasValue()) {
Node v$g$1 = yyResult.semanticValue();
yyValue = GNode.create("XmlContentP", v$g$1);
yyValue.setLocation(location(yyStart));
return yyResult.createValue(yyValue, yyError);