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.
override void BuildStatement(StatementBuilder builder)
string NodeName
Gets the name of the node analyzed from the parser.
static SqlExpression Build(IExpressionNode node)
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
ICollection< IStatement > Statements
A node containing a constant literal string passed within an SQL command.
Defines the base class for instances that represent SQL expression tree nodes.
This interface acts like a marker that indicates if a ISqlNode represents a SQL expression.