/** * Adds a child loop node, and sets its parent to this node. * @throws IllegalArgumentException if acl is {@code null} */ public void addLoop(GeneratorExpressionLoop acl) { assertNotNull(acl); loops.add(acl); acl.setParent(this); }
/** * Adds a child loop node, and sets its parent to this node. * @throws IllegalArgumentException if acl is {@code null} */ public void addLoop(GeneratorExpressionLoop acl) { assertNotNull(acl); loops.add(acl); acl.setParent(this); }
/** * Sets loop list * @throws IllegalArgumentException if loops is {@code null} */ public void setLoops(List<GeneratorExpressionLoop> loops) { assertNotNull(loops); this.loops.clear(); for (GeneratorExpressionLoop acl : loops) { addLoop(acl); } }
/** * Adds a child loop node, and sets its parent to this node. * @throws IllegalArgumentException if acl is {@code null} */ public void addLoop(GeneratorExpressionLoop acl) { assertNotNull(acl); loops.add(acl); acl.setParent(this); }
/** * Sets loop list * @throws IllegalArgumentException if loops is {@code null} */ public void setLoops(List<GeneratorExpressionLoop> loops) { assertNotNull(loops); this.loops.clear(); for (GeneratorExpressionLoop acl : loops) { addLoop(acl); } }
/** * Sets result expression, and sets its parent to this node. * @throws IllegalArgumentException if result is {@code null} */ public void setResult(AstNode result) { assertNotNull(result); this.result = result; result.setParent(this); }
/** * Sets result expression, and sets its parent to this node. * @throws IllegalArgumentException if result is {@code null} */ public void setResult(AstNode result) { assertNotNull(result); this.result = result; result.setParent(this); }
/** * Sets loop list * @throws IllegalArgumentException if loops is {@code null} */ public void setLoops(List<GeneratorExpressionLoop> loops) { assertNotNull(loops); this.loops.clear(); for (GeneratorExpressionLoop acl : loops) { addLoop(acl); } }
/** * Sets result expression, and sets its parent to this node. * @throws IllegalArgumentException if result is {@code null} */ public void setResult(AstNode result) { assertNotNull(result); this.result = result; result.setParent(this); }
/** * Sets result expression, and sets its parent to this node. * @throws IllegalArgumentException if result is {@code null} */ public void setResult(AstNode result) { assertNotNull(result); this.result = result; result.setParent(this); }
/** * Adds a child loop node, and sets its parent to this node. * @throws IllegalArgumentException if acl is {@code null} */ public void addLoop(GeneratorExpressionLoop acl) { assertNotNull(acl); loops.add(acl); acl.setParent(this); }
/** * Sets loop list * @throws IllegalArgumentException if loops is {@code null} */ public void setLoops(List<GeneratorExpressionLoop> loops) { assertNotNull(loops); this.loops.clear(); for (GeneratorExpressionLoop acl : loops) { addLoop(acl); } }