C# Class Nett.Parser.Token

Show file Open project: paiden/Nett Class Usage Examples

Public Properties

Property Type Description
col int
line int
type TokenType
value string

Public Methods

Method Description
CreateUnknownTokenFromFragment ( CharBuffer cs, StringBuilder fragment ) : Token
EndOfFile ( int line, int col ) : Token
NewLine ( int line, int col ) : Token
Token ( TokenType type, string value ) : System.Diagnostics

Method Details

CreateUnknownTokenFromFragment() public static method

public static CreateUnknownTokenFromFragment ( CharBuffer cs, StringBuilder fragment ) : Token
cs CharBuffer
fragment System.Text.StringBuilder
return Token

EndOfFile() public static method

public static EndOfFile ( int line, int col ) : Token
line int
col int
return Token

NewLine() public static method

public static NewLine ( int line, int col ) : Token
line int
col int
return Token

Token() public method

public Token ( TokenType type, string value ) : System.Diagnostics
type TokenType
value string
return System.Diagnostics

Property Details

col public property

public int col
return int

line public property

public int line
return int

type public property

public TokenType type
return TokenType

value public property

public string value
return string