C# Class CodeBox.CodeLexer.Token

Exibir arquivo Open project: anaimi/codebox Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int
Equals ( object obj ) : bool
FallsAfter ( List list, Token target ) : bool
FallsBefore ( List list, Token target ) : bool
GetHashCode ( ) : int
Index ( List list ) : int
Next ( List list ) : Token
Previous ( List list ) : Token
ToString ( ) : string
Token ( TokenType type, string value, List indices ) : System
UpdateLineNumber ( int offset ) : void

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FallsAfter() public method

public FallsAfter ( List list, Token target ) : bool
list List
target Token
return bool

FallsBefore() public method

public FallsBefore ( List list, Token target ) : bool
list List
target Token
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Index() public method

public Index ( List list ) : int
list List
return int

Next() public method

public Next ( List list ) : Token
list List
return Token

Previous() public method

public Previous ( List list ) : Token
list List
return Token

ToString() public method

public ToString ( ) : string
return string

Token() public method

public Token ( TokenType type, string value, List indices ) : System
type TokenType
value string
indices List
return System

UpdateLineNumber() public method

public UpdateLineNumber ( int offset ) : void
offset int
return void