Class CompositeNode

    • Constructor Detail

      • CompositeNode

        public CompositeNode()
    • Method Detail

      • children

        public abstract java.util.List<ExpressionNode> children()

        Returns a read-only list containing the immediate children of this composite

        Returns:
        The children of this.
      • setChildren

        public abstract CompositeNode setChildren​(java.util.List<ExpressionNode> children)
        Returns a copy of this where the children is replaced by the given children.
        Throws:
        java.lang.IllegalArgumentException - if the given list of children has different size than children()