Package org.joni.ast

Class AnchorNode

java.lang.Object
org.joni.ast.Node
org.joni.ast.AnchorNode
All Implemented Interfaces:
NodeType

public final class AnchorNode extends Node
  • Field Details

    • type

      public final int type
    • asciiRange

      public final boolean asciiRange
    • target

      public Node target
    • charLength

      public int charLength
  • Constructor Details

    • AnchorNode

      public AnchorNode(int type, boolean asciiRange)
    • AnchorNode

      public AnchorNode(int type)
  • Method Details

    • 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)
      Specified by:
      toString in class Node
    • typeToString

      public String typeToString()
    • isType

      private boolean isType(int type)