Class Compound

    • Field Detail

      • parent

        private Script parent
    • Constructor Detail

      • Compound

        public Compound​(CompoundTypeDescriptor type,
                        Script parent)
        Creates a compound.
        Parameters:
        type - the type of the compound
        parent - the parent script
    • Method Detail

      • accept

        public java.lang.Object accept​(IVisitor visitor)
                                throws VilException
        Description copied from interface: IBuildlangElement
        Accepts the visitor for visiting.
        Specified by:
        accept in interface IBuildlangElement
        Parameters:
        visitor - the visitor to be used
        Returns:
        the result of visiting this instance (may be null)
        Throws:
        VilException - in case that visiting fails (e.g., execution)