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
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 |
type
public int type
target
public Node target
charLength
public int charLength
AnchorNode
public AnchorNode(int type)
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 String getName()
- Specified by:
getName
in class Node
toString
public String toString(int level)
- Specified by:
toString
in class Node
typeToString
public String typeToString()
Copyright © 2012. All Rights Reserved.