C# Class Spring.Expressions.Parser.antlr.TokenWithIndex

This token tracks it's own index 0..n-1 relative to the beginning of the stream. It is designed to work with TokenStreamRewriteEngine in TokenStreamRewriteEngine.cs
Inheritance: CommonToken
Mostrar archivo Open project: spring-projects/spring-net

Public Methods

Method Description
ToString ( ) : string
TokenWithIndex ( )
TokenWithIndex ( int i, string t )
getIndex ( ) : int
setIndex ( int i ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string

TokenWithIndex() public method

public TokenWithIndex ( )

TokenWithIndex() public method

public TokenWithIndex ( int i, string t )
i int
t string

getIndex() public method

public getIndex ( ) : int
return int

setIndex() public method

public setIndex ( int i ) : void
i int
return void