AttemptBlock(TemplateElements attemptedSectionChildren, RecoveryBlock recoverySection) { TemplateElement attemptedSection = attemptedSectionChildren.asSingleElement(); this.attemptedSection = attemptedSection; this.recoverySection = recoverySection; setChildBufferCapacity(2); addChild(attemptedSection); // for backward compatibility addChild(recoverySection); }
/** * Root production to be used when parsing * an entire file. */ final public TemplateElement Root() throws ParseException {TemplateElements children; if (jj_2_15(2147483647)) { HeaderElement(); } else { ; } children = MixedContentElements(); jj_consume_token(0); TemplateElement root = children.asSingleElement(); root.setFieldsForRootElement(); if (!preventStrippings) { root = root.postParseCleanup(stripWhitespace); } // The cleanup result is possibly an element from deeper: root.setFieldsForRootElement(); {if ("" != null) return root;} throw new Error("Missing return statement in function"); }
AttemptBlock(TemplateElements attemptedSectionChildren, RecoveryBlock recoverySection) { TemplateElement attemptedSection = attemptedSectionChildren.asSingleElement(); this.attemptedSection = attemptedSection; this.recoverySection = recoverySection; setChildBufferCapacity(2); addChild(attemptedSection); // for backward compatibility addChild(recoverySection); }
AttemptBlock(TemplateElements attemptedSectionChildren, RecoveryBlock recoverySection) { TemplateElement attemptedSection = attemptedSectionChildren.asSingleElement(); this.attemptedSection = attemptedSection; this.recoverySection = recoverySection; setChildBufferCapacity(2); addChild(attemptedSection); // for backward compatibility addChild(recoverySection); }
/** * Root production to be used when parsing * an entire file. */ final public TemplateElement Root() throws ParseException {TemplateElements children; if (jj_2_15(2147483647)) { HeaderElement(); } else { ; } children = MixedContentElements(); jj_consume_token(0); TemplateElement root = children.asSingleElement(); root.setFieldsForRootElement(); if (!preventStrippings) { root = root.postParseCleanup(stripWhitespace); } // The cleanup result is possibly an element from deeper: root.setFieldsForRootElement(); {if ("" != null) return root;} throw new Error("Missing return statement in function"); }
/** * Root production to be used when parsing * an entire file. */ final public TemplateElement Root() throws ParseException {TemplateElements children; if (jj_2_15(2147483647)) { HeaderElement(); } else { ; } children = MixedContentElements(); jj_consume_token(0); TemplateElement root = children.asSingleElement(); root.setFieldsForRootElement(); if (!preventStrippings) { root = root.postParseCleanup(stripWhitespace); } // The cleanup result is possibly an element from deeper: root.setFieldsForRootElement(); {if ("" != null) return root;} throw new Error("Missing return statement in function"); }