C# Class Yamool.CWSharp.Token

Exibir arquivo Open project: zhengchun/CWSharp

Public Methods

Method Description
SetBuffer ( char buffer, int begin, int length ) : Token
SetBuffer ( string buffer ) : Token
SetBuffer ( string buffer, int begin, int length ) : Token
SetType ( TokenType type ) : Token
ToString ( ) : string
Token ( string text, TokenType type ) : System

Private Methods

Method Description
Token ( ) : System

Method Details

SetBuffer() public method

public SetBuffer ( char buffer, int begin, int length ) : Token
buffer char
begin int
length int
return Token

SetBuffer() public method

public SetBuffer ( string buffer ) : Token
buffer string
return Token

SetBuffer() public method

public SetBuffer ( string buffer, int begin, int length ) : Token
buffer string
begin int
length int
return Token

SetType() public method

public SetType ( TokenType type ) : Token
type TokenType
return Token

ToString() public method

public ToString ( ) : string
return string

Token() public method

public Token ( string text, TokenType type ) : System
text string
type TokenType
return System