org.joni.ast
Class CallNode

java.lang.Object
  extended by org.joni.ast.Node
      extended by org.joni.ast.StateNode
          extended by org.joni.ast.CallNode
All Implemented Interfaces:
NodeStatus, NodeType

public final class CallNode
extends StateNode


Field Summary
 int groupNum
           
 byte[] name
           
 int nameEnd
           
 int nameP
           
 Node target
           
 UnsetAddrList unsetAddrList
           
 
Fields inherited from class org.joni.ast.StateNode
state
 
Fields inherited from class org.joni.ast.Node
parent
 
Fields inherited from interface org.joni.constants.NodeStatus
NST_ADDR_FIXED, NST_BY_NUMBER, NST_CALLED, NST_CLEN_FIXED, NST_IN_REPEAT, NST_MARK1, NST_MARK2, NST_MAX_FIXED, NST_MEM_BACKREFED, NST_MIN_FIXED, NST_NAME_REF, NST_NAMED_GROUP, NST_NEST_LEVEL, NST_RECURSION, NST_STOP_BT_SIMPLE_REPEAT
 
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
CallNode(byte[] name, int nameP, int nameEnd, int gnum)
           
 
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)
           
 void verifyTree(java.util.Set<Node> set, WarnCallback warnings)
           
 
Methods inherited from class org.joni.ast.StateNode
clearAddrFixed, clearByNumber, clearCAlled, clearCLenFixed, clearInRepeat, clearMark1, clearMark2, clearMaxFixed, clearMemBackrefed, clearMinFixed, clearNamedGroup, clearNameRef, clearNestLevel, clearRecursion, clearStopBtSimpleRepeat, isAddrFixed, isByNumber, isCalled, isCLenFixed, isInRepeat, isMark1, isMark2, isMaxFixed, isMemBackrefed, isMinFixed, isNamedGroup, isNameRef, isNestLevel, isRecursion, isStopBtSimpleRepeat, setAddrFixed, setByNumber, setCalled, setCLenFixed, setInRepeat, setMark1, setMark2, setMaxFixed, setMemBackrefed, setMinFixed, setNamedGroup, setNameRef, setNestLevel, setRecursion, setStopBtSimpleRepeat, stateToString
 
Methods inherited from class org.joni.ast.Node
getAddressName, getType2Bit, isAllowedInLookBehind, isInvalidQuantifier, isSimple, pad, swap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public byte[] name

nameP

public int nameP

nameEnd

public int nameEnd

groupNum

public int groupNum

target

public Node target

unsetAddrList

public UnsetAddrList unsetAddrList
Constructor Detail

CallNode

public CallNode(byte[] name,
                int nameP,
                int nameEnd,
                int gnum)
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

verifyTree

public void verifyTree(java.util.Set<Node> set,
                       WarnCallback warnings)
Overrides:
verifyTree in class Node

toString

public java.lang.String toString(int level)
Overrides:
toString in class StateNode


Copyright © 2010. All Rights Reserved.