18 using System.Collections.Generic;
20 namespace Deveel.Data.Sql.Parser {
39 get {
return parent; }
47 get {
return new Token[] {token}; }
57 public string Text {
get;
private set; }
void SetParent(ISqlNode node)
Defines the contract for nodes in an AST model for a SQL grammar analysis and parsing.
Represents a keyword found during the compilation of a source text.
string Text
Gets the text that represents the token.
string NodeName
Gets the name of the node analyzed from the parser.
This is a single token within a string parsed.
IEnumerable< ISqlNode > ChildNodes
Gets a read-only enumeration of the children nodes, if any.
IEnumerable< Token > Tokens
Gets an enumeration of the tokens composing the this node.
ISqlNode Parent
Gets a reference to the parent ISqlNode, if any.