22 namespace Deveel.Data.Sql.Parser {
24 public string Label {
get;
private set; }
29 if (node.
NodeName.Equals(
"label_opt")) {
31 }
else if (node.
NodeName.Equals(
"when_opt")) {
35 return base.OnChildNode(node);
40 if (WhenExpression != null)
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.
static SqlExpression Build(IExpressionNode node)
ICollection< IStatement > Statements
override void BuildStatement(StatementBuilder builder)
A node containing a constant literal string passed within an SQL command.
Defines the base class for instances that represent SQL expression tree nodes.
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
This interface acts like a marker that indicates if a ISqlNode represents a SQL expression.