Packageorg.antlr.runtime.tree
Classpublic class CommonErrorNode
InheritanceCommonErrorNode Inheritance CommonTree Inheritance BaseTree



Public Properties
 PropertyDefined by
 InheritedcharPositionInLine : int
CommonTree
 InheritedchildCount : int
BaseTree
 InheritedchildIndex : int
CommonTree
 Inheritedchildren : Array
Get the children internal List; note that if you directly mess with the list, do so at your own risk.
BaseTree
  input : IntStream
CommonErrorNode
  isNil : Boolean
[read-only]
CommonErrorNode
 Inheritedline : int
CommonTree
 Inheritedparent : Tree
CommonTree
  start : Token
CommonErrorNode
 InheritedstartIndex : int = -1
What token indexes bracket all tokens associated with this node and below?
CommonTree
  stop : Token
CommonErrorNode
 Inheritedtext : String
CommonTree
 Inheritedtoken : Token
CommonTree
 InheritedtokenStartIndex : int
CommonTree
 InheritedtokenStopIndex : int
CommonTree
  trappedException : RecognitionException
CommonErrorNode
 Inheritedtype : int
CommonTree
Protected Properties
 PropertyDefined by
 Inherited_childIndex : int = -1
What index is this node in the child list? Range: 0..n-1
CommonTree
 Inherited_children : Array
BaseTree
 Inherited_parent : CommonTree
Who is the parent node of this node; if null, implies node is root
CommonTree
 Inherited_token : Token
A single token is the payload
CommonTree
Public Methods
 MethodDefined by
  
CommonErrorNode
 Inherited
addChild(t:Tree):void
Add t as child of this node.
BaseTree
 Inherited
addChildren(kids:Array):void
Add all elements of kids list as children of this node
BaseTree
 Inherited
[static]
CommonTree
 Inherited
deleteChild(i:int):Object
BaseTree
 Inherited
CommonTree
 Inherited
Set the parent and child index values for all child of t
BaseTree
 Inherited
BaseTree
 Inherited
getChild(i:int):Tree
BaseTree
 Inherited
BaseTree
  
getText():String
CommonErrorNode
  
getType():int
CommonErrorNode
 Inherited
replaceChildren(startChildIndex:int, stopChildIndex:int, t:Object):void
Delete children from start to stop and replace with t even if t is a list (nil-root tree).
BaseTree
 Inherited
BaseTree
 Inherited
BaseTree
 Inherited
setChild(i:int, t:Tree):void
BaseTree
  
toString():String
CommonErrorNode
 Inherited
toStringTree():String
Print out a whole tree not just a node
BaseTree
Property detail
inputproperty
public var input:IntStream
isNilproperty 
isNil:Boolean  [read-only]Implementation
    public function get isNil():Boolean
startproperty 
public var start:Token
stopproperty 
public var stop:Token
trappedExceptionproperty 
public var trappedException:RecognitionException
Constructor detail
CommonErrorNode()constructor
public function CommonErrorNode(input:TokenStream, start:Token, stop:Token, e:RecognitionException)Parameters
input:TokenStream
 
start:Token
 
stop:Token
 
e:RecognitionException
Method detail
getText()method
public function getText():String

Returns
String
getType()method 
public function getType():int

Returns
int
toString()method 
public override function toString():String

Returns
String