18 using System.Collections.Generic;
20 namespace Deveel.Data.Sql.Parser {
22 public string Label {
get;
private set; }
24 public IEnumerable<IDeclareNode> Declarations {
get;
private set; }
29 if (node.
NodeName.Equals(
"plsql_label_opt")) {
30 var labelNode = node.FindNode<
LabelNode>();
31 if (labelNode != null)
32 Label = labelNode.
Text;
33 }
else if (node.
NodeName.Equals(
"declare_statement_opt")) {
36 CodeBlock = (PlSqlCodeBlockNode) node;
39 return base.OnChildNode(node);
Defines the contract for nodes in an AST model for a SQL grammar analysis and parsing.
string NodeName
Gets the name of the node analyzed from the parser.
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
The default implementation of ISqlNode, that is a node in the text analysis parsing of SQL commands...