org.joni.ast
Class AnchorNode

java.lang.Object
  extended by org.joni.ast.Node
      extended by org.joni.ast.AnchorNode
All Implemented Interfaces:
AnchorType, NodeType

public final class AnchorNode
extends Node
implements AnchorType


Field Summary
 int charLength
           
 Node target
           
 int type
           
 
Fields inherited from class org.joni.ast.Node
parent
 
Fields inherited from interface org.joni.constants.AnchorType
ALLOWED_IN_LB, ALLOWED_IN_LB_NOT, ANYCHAR_STAR, ANYCHAR_STAR_MASK, ANYCHAR_STAR_ML, BEGIN_BUF, BEGIN_LINE, BEGIN_POSITION, END_BUF, END_BUF_MASK, END_LINE, LOOK_BEHIND, LOOK_BEHIND_NOT, NOT_WORD_BOUND, PREC_READ, PREC_READ_NOT, SEMI_END_BUF, WORD_BEGIN, WORD_BOUND, WORD_END
 
Fields inherited from interface org.joni.constants.NodeType
ALLOWED_IN_LB, ALT, ANCHOR, BIT_ALT, BIT_ANCHOR, BIT_BREF, BIT_CALL, BIT_CANY, BIT_CCLASS, BIT_CTYPE, BIT_ENCLOSE, BIT_LIST, BIT_QTFR, BIT_STR, BREF, CALL, CANY, CCLASS, CTYPE, ENCLOSE, LIST, QTFR, SIMPLE, STR
 
Constructor Summary
AnchorNode(int type)
           
 
Method Summary
protected  Node getChild()
           
 java.lang.String getName()
           
 int getType()
           
protected  void setChild(Node newChild)
           
 void setTarget(Node tgt)
           
 java.lang.String toString(int level)
           
 java.lang.String typeToString()
           
 
Methods inherited from class org.joni.ast.Node
getAddressName, getType2Bit, isAllowedInLookBehind, isInvalidQuantifier, isSimple, pad, swap, toString, verifyTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public int type

target

public Node target

charLength

public int charLength
Constructor Detail

AnchorNode

public AnchorNode(int type)
Method Detail

getType

public int getType()
Specified by:
getType in class Node

setChild

protected void setChild(Node newChild)
Overrides:
setChild in class Node

getChild

protected Node getChild()
Overrides:
getChild in class Node

setTarget

public void setTarget(Node tgt)

getName

public java.lang.String getName()
Specified by:
getName in class Node

toString

public java.lang.String toString(int level)
Specified by:
toString in class Node

typeToString

public java.lang.String typeToString()


Copyright © 2008. All Rights Reserved.