20 namespace Deveel.Data.Sql.Parser {
32 public string Operator {
get;
private set; }
42 Operand = (IExpressionNode) node;
43 }
else if (node.
NodeName ==
"unary_op") {
46 Operator = ((SqlKeyNode) op).Text;
49 return base.OnChildNode(node);
Defines the contract for nodes in an AST model for a SQL grammar analysis and parsing.
Represents a keyword found during the compilation of a source text.
string NodeName
Gets the name of the node analyzed from the parser.
An expression that encapsulates a unary operator for a given operand.
override ISqlNode OnChildNode(ISqlNode node)
During the initialization of the node from the parser, this method is called for every child node add...
IEnumerable< ISqlNode > ChildNodes
Gets a read-only enumeration of the children nodes, if any.
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...