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)
This is a simple identifier within a SQL grammar.
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)
override void BuildStatement(StatementBuilder builder)
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
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.