DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Package Functions | Properties | List of all members
Deveel.Data.Sql.Parser.Token Class Reference

This is a single token within a string parsed. More...

Public Member Functions

override string ToString ()
 

Package Functions

 Token (int column, int line, string text, object value)
 

Properties

int Column [get, private set]
 Gets the column location within the Line of the token in the string context it belongs to. More...
 
int Line [get, private set]
 Gets the line number of the token. More...
 
string Text [get, private set]
 Gets the text that represents the token. More...
 
object Value [get, private set]
 Gets the value of the token. More...
 

Detailed Description

This is a single token within a string parsed.

Tokens are the very basic elements of a string analysis and handle the location within the string context, and the value they represent, which is a single word, character or number.

Definition at line 28 of file Token.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Parser.Token.Token ( int  column,
int  line,
string  text,
object  value 
)
inlinepackage

Definition at line 29 of file Token.cs.

29  {
30  Text = text;
31  Value = value;
32  Line = line;
33  Column = column;
34  }
int Column
Gets the column location within the Line of the token in the string context it belongs to...
Definition: Token.cs:40
string Text
Gets the text that represents the token.
Definition: Token.cs:50
object Value
Gets the value of the token.
Definition: Token.cs:55
int Line
Gets the line number of the token.
Definition: Token.cs:45

Member Function Documentation

override string Deveel.Data.Sql.Parser.Token.ToString ( )
inline

Definition at line 58 of file Token.cs.

58  {
59  return Text;
60  }
string Text
Gets the text that represents the token.
Definition: Token.cs:50

Property Documentation

int Deveel.Data.Sql.Parser.Token.Column
getprivate set

Gets the column location within the Line of the token in the string context it belongs to.

Definition at line 40 of file Token.cs.

int Deveel.Data.Sql.Parser.Token.Line
getprivate set

Gets the line number of the token.

Definition at line 45 of file Token.cs.

string Deveel.Data.Sql.Parser.Token.Text
getprivate set

Gets the text that represents the token.

Definition at line 50 of file Token.cs.

object Deveel.Data.Sql.Parser.Token.Value
getprivate set

Gets the value of the token.

Definition at line 55 of file Token.cs.


The documentation for this class was generated from the following file: