|
string | CursorName [get, private set] |
|
IEnumerable< IExpressionNode > | Arguments [get, private set] |
|
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] |
|
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...
|
|
Definition at line 26 of file OpenCursorStatementNode.cs.
override void Deveel.Data.Sql.Parser.OpenCursorStatementNode.BuildStatement |
( |
StatementBuilder |
builder | ) |
|
|
inlineprotectedvirtual |
void Deveel.Data.Sql.Parser.OpenCursorStatementNode.GetArguments |
( |
ISqlNode |
node | ) |
|
|
inlineprivate |
Definition at line 41 of file OpenCursorStatementNode.cs.
42 var listNode = node.FindByName(
"arg_list");
46 var args =
new List<IExpressionNode>();
48 foreach (var childNode
in listNode.ChildNodes) {
49 if (childNode is IExpressionNode)
50 args.Add((IExpressionNode)childNode);
IEnumerable< IExpressionNode > Arguments
override ISqlNode Deveel.Data.Sql.Parser.OpenCursorStatementNode.OnChildNode |
( |
ISqlNode |
node | ) |
|
|
inlineprotectedvirtual |
During the initialization of the node from the parser, this method is called for every child node added to ChildNodes
- Parameters
-
node | The node being added to the list of children. |
- Returns
- Returns a normalized version of the child node, or the node itself.
Reimplemented from Deveel.Data.Sql.Parser.SqlNode.
Definition at line 31 of file OpenCursorStatementNode.cs.
32 if (node is IdentifierNode) {
34 }
else if (node.NodeName.Equals(
"args_opt")) {
38 return base.OnChildNode(node);
void GetArguments(ISqlNode node)
IEnumerable<IExpressionNode> Deveel.Data.Sql.Parser.OpenCursorStatementNode.Arguments |
|
getprivate set |
string Deveel.Data.Sql.Parser.OpenCursorStatementNode.CursorName |
|
getprivate set |
The documentation for this class was generated from the following file: