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

Represents a keyword found during the compilation of a source text. More...

Inheritance diagram for Deveel.Data.Sql.Parser.SqlKeyNode:
Deveel.Data.Sql.Parser.ISqlChildNode Deveel.Data.Sql.Parser.ISqlNode

Package Functions

 SqlKeyNode (Token token)
 

Properties

string ISqlNode. NodeName [get]
 
ISqlNode ISqlNode. Parent [get]
 
IEnumerable< ISqlNode > ISqlNode. ChildNodes [get]
 
IEnumerable< Token > ISqlNode. Tokens [get]
 
string Text [get, private set]
 Gets the source text of the keyword. More...
 
- Properties inherited from Deveel.Data.Sql.Parser.ISqlNode
string NodeName [get]
 Gets the name of the node analyzed from the parser. More...
 
ISqlNode Parent [get]
 Gets a reference to the parent ISqlNode, if any. More...
 
IEnumerable< ISqlNodeChildNodes [get]
 Gets a read-only enumeration of the children nodes, if any. More...
 
IEnumerable< TokenTokens [get]
 Gets an enumeration of the tokens composing the this node. More...
 

Private Member Functions

void ISqlChildNode. SetParent (ISqlNode node)
 

Private Attributes

readonly Token token
 
ISqlNode parent
 

Additional Inherited Members

Detailed Description

Represents a keyword found during the compilation of a source text.

See also
ISqlNode

Definition at line 25 of file SqlKeyNode.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Parser.SqlKeyNode.SqlKeyNode ( Token  token)
inlinepackage

Definition at line 26 of file SqlKeyNode.cs.

26  {
27  this.token = token;
28  Text = token.Text;
29  }
string Text
Gets the text that represents the token.
Definition: Token.cs:50
string Text
Gets the source text of the keyword.
Definition: SqlKeyNode.cs:57

Member Function Documentation

void ISqlChildNode. Deveel.Data.Sql.Parser.SqlKeyNode.SetParent ( ISqlNode  node)
inlineprivate

Implements Deveel.Data.Sql.Parser.ISqlChildNode.

Definition at line 50 of file SqlKeyNode.cs.

50  {
51  parent = node;
52  }

Member Data Documentation

ISqlNode Deveel.Data.Sql.Parser.SqlKeyNode.parent
private

Definition at line 32 of file SqlKeyNode.cs.

readonly Token Deveel.Data.Sql.Parser.SqlKeyNode.token
private

Definition at line 31 of file SqlKeyNode.cs.

Property Documentation

IEnumerable<ISqlNode> ISqlNode. Deveel.Data.Sql.Parser.SqlKeyNode.ChildNodes
getprivate

Definition at line 42 of file SqlKeyNode.cs.

string ISqlNode. Deveel.Data.Sql.Parser.SqlKeyNode.NodeName
getprivate

Definition at line 34 of file SqlKeyNode.cs.

ISqlNode ISqlNode. Deveel.Data.Sql.Parser.SqlKeyNode.Parent
getprivate

Definition at line 38 of file SqlKeyNode.cs.

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

Gets the source text of the keyword.

Definition at line 57 of file SqlKeyNode.cs.

IEnumerable<Token> ISqlNode. Deveel.Data.Sql.Parser.SqlKeyNode.Tokens
getprivate

Definition at line 46 of file SqlKeyNode.cs.


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