Example #1
0
 protected LExpression GetExpressionTreeIfPossible(
     BaseNode node, LExpression contextExpression, LExpression evalContext)
 {
     return(node.GetExpressionTreeIfPossible(contextExpression, evalContext));
 }
Example #2
0
 protected void SetValue(BaseNode node, object context, EvaluationContext evalContext, object newValue)
 {
     node.Set(context, evalContext, newValue);
 }
Example #3
0
 /// <summary>
 /// Evaluates this node, switching local variables map to the ones specified in <paramref name="arguments"/>.
 /// </summary>
 protected object GetValueWithArguments(BaseNode node, object context, EvaluationContext evalContext, object[] arguments)
 {
     return(node.Get(context, evalContext, arguments));
 }
Example #4
0
 protected object GetValue(BaseNode node, object context, EvaluationContext evalContext)
 {
     return(node.Get(context, evalContext));
 }
 /// <summary>
 /// Create a new instance
 /// </summary>
 public OpXOR(BaseNode left, BaseNode right)
     : base(left, right)
 {
 }