Пример #1
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(!Convert.ToBoolean(base.Operand.EvaluateInternal(context, evalContext)));
 }
Пример #2
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(this.getText());
 }
Пример #3
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(new ArrayList(base.ResolveArguments(evalContext)));
 }
Пример #4
0
 public ThisContextHolder(BaseNode.EvaluationContext owner)
 {
     this.owner            = owner;
     this.savedThisContext = owner.ThisContext;
 }
Пример #5
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(Convert.ToBoolean(base.Left.EvaluateInternal(context, evalContext)) ? ((object)1) : ((object)Convert.ToBoolean(base.Right.EvaluateInternal(context, evalContext))));
 }
Пример #6
0
 protected object ResolveArgument(int position, BaseNode.EvaluationContext evalContext)
 {
     this.InitializeNode();
     return(this.args[position].EvaluateInternal(evalContext.ThisContext, evalContext));
 }
Пример #7
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(null);
 }