DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
The default implementation of ISqlNode, that is a node in the text analysis parsing of SQL commands. More...
Public Member Functions | |
SqlNode () | |
Protected Member Functions | |
virtual void | OnNodeInit () |
After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur. More... | |
virtual ISqlNode | OnChildNode (ISqlNode node) |
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes More... | |
Properties | |
ISqlNode | Parent [get, private set] |
Gets the parent of the current node. More... | |
string | NodeName [get, private set] |
Gets the name of the node, as expressed in the SQL grammar. More... | |
IEnumerable< ISqlNode > | ChildNodes [get, private set] |
Gets an immutable list of nodes, children of the current node. More... | |
IEnumerable< Token > | Tokens [get, private set] |
Gets an immutable list of Token that represent the source of this node. More... | |
string ISqlNode. | NodeName [get] |
ISqlNode ISqlNode. | Parent [get] |
IEnumerable< ISqlNode > ISqlNode. | ChildNodes [get] |
IEnumerable< Token > ISqlNode. | Tokens [get] |
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< ISqlNode > | ChildNodes [get] |
Gets a read-only enumeration of the children nodes, if any. More... | |
IEnumerable< Token > | Tokens [get] |
Gets an enumeration of the tokens composing the this node. More... | |
Private Member Functions | |
void IAstNodeInit. | Init (AstContext context, ParseTreeNode parseNode) |
The default implementation of ISqlNode, that is a node in the text analysis parsing of SQL commands.
Definition at line 32 of file SqlNode.cs.
|
inline |
Definition at line 33 of file SqlNode.cs.
|
inlineprivate |
Definition at line 66 of file SqlNode.cs.
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes
node | The node being added to the list of children. |
Reimplemented in Deveel.Data.Sql.Parser.DataTypeNode, Deveel.Data.Sql.Parser.SqlQueryExpressionNode, Deveel.Data.Sql.Parser.JoinNode, Deveel.Data.Sql.Parser.SqlBinaryExpressionNode, Deveel.Data.Sql.Parser.TableConstraintNode, Deveel.Data.Sql.Parser.SqlBetweenExpressionNode, Deveel.Data.Sql.Parser.QueryCompositeNode, Deveel.Data.Sql.Parser.SqlCaseExpressionNode, Deveel.Data.Sql.Parser.SqlFunctionCallExpressionNode, Deveel.Data.Sql.Parser.ObjectNameNode, Deveel.Data.Sql.Parser.CaseSwitchNode, Deveel.Data.Sql.Parser.OrderByNode, Deveel.Data.Sql.Parser.FromQuerySourceNode, Deveel.Data.Sql.Parser.GroupByNode, Deveel.Data.Sql.Parser.SqlUnaryExpressionNode, Deveel.Data.Sql.Parser.FromClauseNode, Deveel.Data.Sql.Parser.SqlExpressionTupleNode, Deveel.Data.Sql.Parser.ColumnConstraintNode, Deveel.Data.Sql.Parser.FromTableSourceNode, Deveel.Data.Sql.Parser.SelectStatementNode, Deveel.Data.Sql.Parser.DeclareCursorNode, Deveel.Data.Sql.Parser.SqlConstantExpressionNode, Deveel.Data.Sql.Parser.InsertStatementNode, Deveel.Data.Sql.Parser.CreateViewNode, Deveel.Data.Sql.Parser.DeclareVariableNode, Deveel.Data.Sql.Parser.GrantStatementNode, Deveel.Data.Sql.Parser.SimpleUpdateNode, Deveel.Data.Sql.Parser.SqlReferenceExpressionNode, Deveel.Data.Sql.Parser.PrivilegeNode, Deveel.Data.Sql.Parser.SequenceOfStatementsNode, Deveel.Data.Sql.Parser.SqlVariableRefExpressionNode, Deveel.Data.Sql.Parser.AlterTableNode, Deveel.Data.Sql.Parser.GrantRoleStatementNode, Deveel.Data.Sql.Parser.OpenCursorStatementNode, Deveel.Data.Sql.Parser.QueryUpdateNode, Deveel.Data.Sql.Parser.UpdateStatementNode, Deveel.Data.Sql.Parser.ExceptionHandlerNode, Deveel.Data.Sql.Parser.BreakStatementNode, Deveel.Data.Sql.Parser.ContinueStatementNode, Deveel.Data.Sql.Parser.ExitStatementNode, Deveel.Data.Sql.Parser.PlSqlBlockNode, Deveel.Data.Sql.Parser.UpdateColumnNode, Deveel.Data.Sql.Parser.CreateUserStatementNode, Deveel.Data.Sql.Parser.PlSqlCodeBlockNode, Deveel.Data.Sql.Parser.AlterUserStatementNode, Deveel.Data.Sql.Parser.InsertSetNode, Deveel.Data.Sql.Parser.DataTypeMetaNode, Deveel.Data.Sql.Parser.DeclarePragmaNode, Deveel.Data.Sql.Parser.RaiseStatementNode, Deveel.Data.Sql.Parser.SetDefaultNode, Deveel.Data.Sql.Parser.ValuesInsertNode, Deveel.Data.Sql.Parser.AddColumnNode, Deveel.Data.Sql.Parser.AddConstraintNode, Deveel.Data.Sql.Parser.AlterColumnNode, Deveel.Data.Sql.Parser.CreateSequenceNode, Deveel.Data.Sql.Parser.DeclareExceptionNode, Deveel.Data.Sql.Parser.DropColumnNode, Deveel.Data.Sql.Parser.DropConstraintNode, Deveel.Data.Sql.Parser.DropCoulmnNode, Deveel.Data.Sql.Parser.DropDefaultNode, Deveel.Data.Sql.Parser.GotoStatementNode, Deveel.Data.Sql.Parser.IdentifiedByPasswordNode, Deveel.Data.Sql.Parser.LabelNode, Deveel.Data.Sql.Parser.QueryInsertNode, Deveel.Data.Sql.Parser.ReturnStatementNode, Deveel.Data.Sql.Parser.SetAccountStatusNode, Deveel.Data.Sql.Parser.SetPasswordNode, Deveel.Data.Sql.Parser.FetchStatementNode, Deveel.Data.Sql.Parser.CreateSchemaNode, and Deveel.Data.Sql.Parser.DropSchemaStatementNode.
Definition at line 135 of file SqlNode.cs.
|
inlineprotectedvirtual |
After the initialization of the node from the parser, this method is invoked to let the specific initialization to occur.
Reimplemented in Deveel.Data.Sql.Parser.SelectItemNode, Deveel.Data.Sql.Parser.IntegerLiteralNode, Deveel.Data.Sql.Parser.NumberLiteralNode, Deveel.Data.Sql.Parser.IdentifierNode, Deveel.Data.Sql.Parser.TableColumnNode, Deveel.Data.Sql.Parser.CreateTableNode, Deveel.Data.Sql.Parser.StringLiteralNode, Deveel.Data.Sql.Parser.DropTableStatementNode, Deveel.Data.Sql.Parser.DropViewStatementNode, Deveel.Data.Sql.Parser.CloseCursorStatementNode, Deveel.Data.Sql.Parser.CursorParameterNode, Deveel.Data.Sql.Parser.LimitNode, Deveel.Data.Sql.Parser.SetInsertNode, Deveel.Data.Sql.Parser.InsertValueNode, and Deveel.Data.Sql.Parser.SetGroupsNode.
Definition at line 124 of file SqlNode.cs.
|
getprivate setprotected |
Gets an immutable list of nodes, children of the current node.
Definition at line 55 of file SqlNode.cs.
|
getprivate |
Definition at line 112 of file SqlNode.cs.
|
getprivate setprotected |
Gets the name of the node, as expressed in the SQL grammar.
Definition at line 48 of file SqlNode.cs.
|
getprivate |
Definition at line 104 of file SqlNode.cs.
|
getprivate setprotected |
Gets the parent of the current node.
Definition at line 42 of file SqlNode.cs.
|
getprivate |
Definition at line 108 of file SqlNode.cs.
|
getprivate setprotected |
Gets an immutable list of Token that represent the source of this node.
Definition at line 63 of file SqlNode.cs.
|
getprivate |
Definition at line 116 of file SqlNode.cs.