Package org.joni.ast

Class EncloseNode

All Implemented Interfaces:
EncloseType, NodeStatus, NodeType

public final class EncloseNode extends StateNode implements EncloseType
  • Field Details

    • type

      public final int type
    • regNum

      public int regNum
    • option

      public int option
    • target

      public Node target
    • callAddr

      public int callAddr
    • minLength

      public int minLength
    • maxLength

      public int maxLength
    • charLength

      public int charLength
    • optCount

      public int optCount
    • containingAnchor

      public Node containingAnchor
  • Constructor Details

    • EncloseNode

      public EncloseNode(int type)
  • Method Details

    • newMemory

      public static EncloseNode newMemory(int option, boolean isNamed)
    • newOption

      public static EncloseNode newOption(int option)
    • setChild

      protected void setChild(Node child)
      Overrides:
      setChild in class Node
    • getChild

      protected Node getChild()
      Overrides:
      getChild in class Node
    • setTarget

      public void setTarget(Node tgt)
    • getName

      public String getName()
      Specified by:
      getName in class Node
    • toString

      public String toString(int level)
      Overrides:
      toString in class StateNode
    • typeToString

      public String typeToString()
    • setEncloseStatus

      public void setEncloseStatus(int flag)
    • clearEncloseStatus

      public void clearEncloseStatus(int flag)
    • isMemory

      public boolean isMemory()
    • isOption

      public boolean isOption()
    • isCondition

      public boolean isCondition()
    • isStopBacktrack

      public boolean isStopBacktrack()
    • isAbsent

      public boolean isAbsent()