18 using System.Collections.Generic;
20 namespace Deveel.Data.Sql.Parser {
29 Expressions = expressions;
36 public IEnumerable<IExpressionNode> Expressions {
get;
private set; }
40 if (node.
NodeName ==
"sql_expression_list")
43 return base.OnChildNode(node);
47 var exps =
new List<IExpressionNode>();
48 foreach (var childNode
in node.ChildNodes) {
50 exps.Add((IExpressionNode)childNode);
53 Expressions = exps.ToArray();
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...
SqlExpressionTupleNode(IEnumerable< IExpressionNode > expressions)
void GetExpressions(ISqlNode node)
An expression containing a set of other expressions.
This interface acts like a marker that indicates if a ISqlNode represents a SQL expression.
The default implementation of ISqlNode, that is a node in the text analysis parsing of SQL commands...