protected var _channel:int = 0
channel:int
[read-write]Implementation
public function get channel():int
public function set channel(value:int):void
protected var _charPositionInLine:int = -1
charPositionInLine:int
[read-write]Implementation
public function get charPositionInLine():int
public function set charPositionInLine(value:int):void
protected var _index:int = -1
What token number is this from 0..n-1 tokens; < 0 implies invalid index
protected var _input:CharStream
inputStream:CharStream
[read-write]
Implementation
public function get inputStream():CharStream
public function set inputStream(value:CharStream):void
protected var _line:int
line:int
[read-write]Implementation
public function get line():int
public function set line(value:int):void
protected var _start:int
The char position into the input buffer where this token starts
startIndex:int
[read-write]Implementation
public function get startIndex():int
public function set startIndex(value:int):void
protected var _stop:int
The char position into the input buffer where this token stops
stopIndex:int
[read-write]Implementation
public function get stopIndex():int
public function set stopIndex(value:int):void
protected var _text:String
We need to be able to change the text once in a while. If
this is non-null, then getText should return this. Note that
start/stop are not affected by changing this.
text:String
[read-write]Implementation
public function get text():String
public function set text(value:String):void
tokenIndex:int
[read-write]Implementation
public function get tokenIndex():int
public function set tokenIndex(value:int):void
protected var _type:int
type:int
[read-write]Implementation
public function get type():int
public function set type(value:int):void
public function CommonToken(type:int, text:String = null)
Parameters
| type:int |
|
| text:String (default = null )
|
public static function cloneToken(oldToken:Token):CommonToken
Parameters
Returns
public static function createFromStream(input:CharStream, type:int, channel:int, start:int, stop:int):CommonToken
Parameters
| input:CharStream |
|
| type:int |
|
| channel:int |
|
| start:int |
|
| stop:int |
Returns
public function toString():String
Returns