C# Class SharpOS.Tools.Token

Show file Open project: sharpos/SharpOS Class Usage Examples

Public Properties

Property Type Description
Column int
Line int
Offset int
Owner Tokenizer
Text string
Type TokenType

Public Methods

Method Description
ToString ( ) : string
Token ( Token t1, Token t2, TokenType type ) : System
Token ( Tokenizer o, char c, int offset, int line, int ch ) : System
Token ( Tokenizer t, string text, int offset, int line, int ch, TokenType type ) : System
operator ( ) : Token

Method Details

ToString() public method

public ToString ( ) : string
return string

Token() public method

public Token ( Token t1, Token t2, TokenType type ) : System
t1 Token
t2 Token
type TokenType
return System

Token() public method

public Token ( Tokenizer o, char c, int offset, int line, int ch ) : System
o Tokenizer
c char
offset int
line int
ch int
return System

Token() public method

public Token ( Tokenizer t, string text, int offset, int line, int ch, TokenType type ) : System
t Tokenizer
text string
offset int
line int
ch int
type TokenType
return System

operator() public static method

public static operator ( ) : Token
return Token

Property Details

Column public property

public int Column
return int

Line public property

public int Line
return int

Offset public property

public int Offset
return int

Owner public property

public Tokenizer,SharpOS.Tools Owner
return Tokenizer

Text public property

public string Text
return string

Type public property

public TokenType Type
return TokenType