Class RuleImpl.IsOtherLeafState

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected IsOtherLeafState()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean[] matchRecursive​(StackFrame frame)
      Matches #getRule() for the automatic recursive stage, if applicable.
      boolean matchSingle​(StackFrame frame)
      Matches #getRule() for the automatic single stage, if applicable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IsOtherLeafState

        protected IsOtherLeafState()
    • Method Detail

      • matchSingle

        public boolean matchSingle​(StackFrame frame)
        Matches #getRule() for the automatic single stage, if applicable.
        Overrides:
        matchSingle in class RuleImpl.LeafState
        Parameters:
        frame - the stack frame in which to execute the matcher
        Returns:
        true iff the rule has any matches
      • matchRecursive

        public boolean[] matchRecursive​(StackFrame frame)
        Matches #getRule() for the automatic recursive stage, if applicable.
        Specified by:
        matchRecursive in class RuleImpl.LeafState
        Parameters:
        frame - the stack frame in which to execute the matcher
        Returns:
        true iff the rule has any matches