Class ZestStatement

    • Constructor Detail

      • ZestStatement

        public ZestStatement​(int index)
        Instantiates a new zest statement.
        Parameters:
        index - the index
      • ZestStatement

        public ZestStatement()
        Instantiates a new zest statement.
    • Method Detail

      • isSameSubclass

        public boolean isSameSubclass​(ZestElement ze)
        Description copied from class: ZestElement
        Checks if is same subclass.
        Overrides:
        isSameSubclass in class ZestElement
        Parameters:
        ze - the ze
        Returns:
        true, if is same subclass
      • getPrevious

        public ZestStatement getPrevious()
        Gets the previous.
        Returns:
        the previous
      • insertBefore

        protected void insertBefore​(ZestStatement stmt)
        Insert before.
        Parameters:
        stmt - the stmt
      • insertAfter

        protected void insertAfter​(ZestStatement stmt)
        Insert after.
        Parameters:
        stmt - the stmt
      • remove

        protected void remove()
        Removes the.
      • getNext

        public ZestStatement getNext()
        Gets the next.
        Returns:
        the next
      • setNext

        protected void setNext​(ZestStatement next)
        Sets the next.
        Parameters:
        next - the new next
      • getIndex

        public int getIndex()
        Gets the index.
        Returns:
        the index
      • init

        protected void init()
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • isPassive

        public abstract boolean isPassive()
        Checks if is passive.
        Returns:
        true, if is passive