public override void Accept (CallExpression call)
		{
			call.Arguments.Visit (this);
			call.Target.Visit (this);
			if (call.Arguments.Packed) {
				methodBuilder.EmitInstruction (call.Target.Location, Opcode.InvokeVar, 
					call.Arguments.Children.Count - 1);
			} else {
				methodBuilder.EmitInstruction (call.Target.Location, Opcode.Invoke, 
					call.Arguments.Children.Count);
			}
			
		}
Exemple #2
0
 public void Accept(CallExpression call)
 {
     call.Visit (functionCompiler);
 }
		public override void Accept (CallExpression call)
		{
			call.Visit (parentVisitor);
		}
		public override void Accept (CallExpression call)
		{
			call.Visit (parentVisitor);
			methodBuilder.EmitInstruction (call.Location, Opcode.LoadLocal, temporary);
			methodBuilder.EmitInstruction (call.Location, Opcode.BinOp, (int)BinaryOperation.Equals);
		}
 public virtual void Accept(CallExpression call)
 {
 }
 public void Accept(CallExpression call)
 {
     call.VisitChildren (this);
 }