/// <summary>Initializes a new instance of the <see cref="UnaryExpression"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="childExpression">The child expression.</param> protected UnaryExpression(ParserContext context, Expression childExpression) : base(context) { this.childExpression = childExpression; }
/// <summary>Initializes a new instance of the <see cref="Comparison"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="operator">The comparison operator.</param> /// <param name="leftChildExpression">The left child expression.</param> /// <param name="rightChildExpression">The right child expression.</param> internal Comparison(ParserContext context, ComparisonOperator @operator, Expression leftChildExpression, Expression rightChildExpression) : base(context, leftChildExpression, rightChildExpression) { this.@operator = @operator; }
/// <summary>Initializes a new instance of the <see cref="NotExpression"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="childExpression">The child expression.</param> internal NotExpression(ParserContext context, Expression childExpression) : base(context, childExpression) { }
/// <summary>Initializes a new instance of the <see cref="FunctionCall"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="signature">The signature of the function.</param> /// <param name="arguments">The arguments of the function.</param> internal FunctionCall(ParserContext context, FunctionSignature signature, IEnumerable <Expression> arguments) : base(context) { this.signature = signature; this.arguments = arguments; }
/// <summary>Initializes a new instance of the <see cref="FunctionCallStatement"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="functionCall">The function call.</param> internal FunctionCallStatement(ParserContext context, FunctionCall functionCall) : base(context) { this.functionCall = functionCall; }
/// <summary>Initializes a new instance of the <see cref="AndExpression"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="leftChildExpression">The left child expression.</param> /// <param name="rightChildExpression">The right child expression.</param> /// <param name="trueValue">The value that represents true.</param> /// <param name="falseValue">The value that represents false.</param> internal AndExpression(ParserContext context , Expression leftChildExpression, Expression rightChildExpression , Expression trueValue, Expression falseValue) : base(context, leftChildExpression, rightChildExpression, trueValue, falseValue) { }
/// <summary>Initializes a new instance of the <see cref="BinaryExpression"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="leftChildExpression">The left child expression.</param> /// <param name="rightChildExpression">The right child expression.</param> protected BinaryExpression(ParserContext context, Expression leftChildExpression, Expression rightChildExpression) : base(context) { this.leftChildExpression = leftChildExpression; this.rightChildExpression = rightChildExpression; }
/// <summary>Initializes a new instance of the <see cref="WhileLoopStatement"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> /// <param name="condition">The condition of the loop.</param> /// <param name="body">The body of the loop.</param> internal WhileLoopStatement(ParserContext context, Expression condition, StatementCollection body) : base(context, body) { this.condition = condition; }
/// <summary>Initializes a new instance of the <see cref="BreakStatement"/> class.</summary> /// <param name="context">The current <see cref="T:ParserContext"/>.</param> internal BreakStatement(ParserContext context) : base(context) { }