Package | org.antlr.runtime.tree |
Class | public class CommonErrorNode |
Inheritance | CommonErrorNode ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | charPositionInLine : int | CommonTree | |
![]() | childCount : int | BaseTree | |
![]() | childIndex : int | CommonTree | |
![]() | children : 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 | ||
![]() | line : int | CommonTree | |
![]() | parent : Tree | CommonTree | |
start : Token | CommonErrorNode | ||
![]() | startIndex : int = -1 What token indexes bracket all tokens associated with this node
and below?
| CommonTree | |
stop : Token | CommonErrorNode | ||
![]() | text : String | CommonTree | |
![]() | token : Token | CommonTree | |
![]() | tokenStartIndex : int | CommonTree | |
![]() | tokenStopIndex : int | CommonTree | |
trappedException : RecognitionException | CommonErrorNode | ||
![]() | type : int | CommonTree |
Method | Defined by | ||
---|---|---|---|
CommonErrorNode | |||
![]() |
Add t as child of this node.
| BaseTree | |
![]() |
addChildren(kids:Array):void
Add all elements of kids list as children of this node
| BaseTree | |
![]() |
[static]
| CommonTree | |
![]() |
deleteChild(i:int):Object
| BaseTree | |
![]() | CommonTree | ||
![]() |
freshenParentAndChildIndexes():void
Set the parent and child index values for all child of t
| BaseTree | |
![]() |
freshenParentAndChildIndexesFrom(offset:int):void
| BaseTree | |
![]() | BaseTree | ||
![]() |
getFirstChildWithType(type:int):Tree
| BaseTree | |
getText():String
| CommonErrorNode | ||
getType():int
| CommonErrorNode | ||
![]() |
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 | |
![]() | BaseTree | ||
![]() |
sanityCheckParentAndChildIndexesFrom(parent:Tree, i:int):void
| BaseTree | |
![]() | BaseTree | ||
toString():String
| CommonErrorNode | ||
![]() |
toStringTree():String
Print out a whole tree not just a node
| BaseTree |
input | property |
public var input:IntStream
isNil | property |
isNil:Boolean
[read-only]Implementation
public function get isNil():Boolean
start | property |
public var start:Token
stop | property |
public var stop:Token
trappedException | property |
public var trappedException:RecognitionException
CommonErrorNode | () | constructor |
public function CommonErrorNode(input:TokenStream, start:Token, stop:Token, e:RecognitionException)
Parameters
input:TokenStream |
|
start:Token |
|
stop:Token |
|
e:RecognitionException |
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 |