Class RuleTerminalNode

    • Field Detail

      • rule

        protected RuleImpl rule
        The rule to invoke upon match.
      • subrule

        protected GroupElement subrule
        the subrule reference is needed to resolve declarations because declarations may have different offsets in each subrule
      • subruleIndex

        protected int subruleIndex
      • allDeclarations

        protected Declaration[] allDeclarations
      • requiredDeclarations

        protected Declaration[] requiredDeclarations
      • salienceDeclarations

        protected Declaration[] salienceDeclarations
      • enabledDeclarations

        protected Declaration[] enabledDeclarations
      • fireDirect

        protected boolean fireDirect
      • consequenceName

        protected String consequenceName
    • Method Detail

      • getAllDeclarations

        public Declaration[] getAllDeclarations()
      • getRequiredDeclarations

        public Declaration[] getRequiredDeclarations()
      • getSalienceDeclarations

        public Declaration[] getSalienceDeclarations()
      • setSalienceDeclarations

        public void setSalienceDeclarations​(Declaration[] salienceDeclarations)
      • getEnabledDeclarations

        public Declaration[] getEnabledDeclarations()
      • setEnabledDeclarations

        public void setEnabledDeclarations​(Declaration[] enabledDeclarations)
      • getConsequenceName

        public String getConsequenceName()
      • getNextLeftTupleSinkNode

        public LeftTupleSinkNode getNextLeftTupleSinkNode()
        Returns the next node
        Returns:
        The next TupleSinkNode
      • setNextLeftTupleSinkNode

        public void setNextLeftTupleSinkNode​(LeftTupleSinkNode next)
        Sets the next node
        Parameters:
        next - The next TupleSinkNode
      • getPreviousLeftTupleSinkNode

        public LeftTupleSinkNode getPreviousLeftTupleSinkNode()
        Returns the previous node
        Returns:
        The previous TupleSinkNode
      • setPreviousLeftTupleSinkNode

        public void setPreviousLeftTupleSinkNode​(LeftTupleSinkNode previous)
        Sets the previous node
        Parameters:
        previous - The previous TupleSinkNode
      • getType

        public short getType()
      • setLeftInputOtnId

        public void setLeftInputOtnId​(ObjectTypeNode.Id leftInputOtnId)
      • isFireDirect

        public boolean isFireDirect()
      • setFireDirect

        public void setFireDirect​(boolean fireDirect)