示例#1
0
 protected LExpression GetExpressionTreeIfPossible(
     BaseNode node, LExpression contextExpression, LExpression evalContext)
 {
     return(node.GetExpressionTreeIfPossible(contextExpression, evalContext));
 }
示例#2
0
 protected void SetValue(BaseNode node, object context, EvaluationContext evalContext, object newValue)
 {
     node.Set(context, evalContext, newValue);
 }
示例#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));
 }
示例#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)
 {
 }