Esempio n. 1
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(!Convert.ToBoolean(base.Operand.EvaluateInternal(context, evalContext)));
 }
Esempio n. 2
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(this.getText());
 }
Esempio n. 3
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(new ArrayList(base.ResolveArguments(evalContext)));
 }
Esempio n. 4
0
 public ThisContextHolder(BaseNode.EvaluationContext owner)
 {
     this.owner            = owner;
     this.savedThisContext = owner.ThisContext;
 }
Esempio n. 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))));
 }
Esempio n. 6
0
 protected object ResolveArgument(int position, BaseNode.EvaluationContext evalContext)
 {
     this.InitializeNode();
     return(this.args[position].EvaluateInternal(evalContext.ThisContext, evalContext));
 }
Esempio n. 7
0
 protected override object Evaluate(object context, BaseNode.EvaluationContext evalContext)
 {
     return(null);
 }