Package org.joni.ast
Class AnchorNode
- java.lang.Object
-
- org.joni.ast.Node
-
- org.joni.ast.AnchorNode
-
- All Implemented Interfaces:
AnchorType
,NodeType
public final class AnchorNode extends Node implements AnchorType
-
-
Field Summary
Fields Modifier and Type Field Description int
charLength
Node
target
int
type
-
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, KEEP, LOOK_BEHIND, LOOK_BEHIND_NOT, NOT_WORD_BOUND, PREC_READ, PREC_READ_NOT, SEMI_END_BUF, WORD_BEGIN, WORD_BOUND, WORD_END
-
-
Constructor Summary
Constructors Constructor Description AnchorNode(int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Node
getChild()
java.lang.String
getName()
int
getType()
private boolean
isType(int type)
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
-
-