/* * This file is part of the X10 project (http://x10-lang.org). * * This file is licensed to You under the Eclipse Public License (EPL); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.opensource.org/licenses/eclipse-1.0.php * * This file was originally derived from the Polyglot extensible compiler framework. * * (C) Copyright 2000-2007 Polyglot project group, Cornell University * (C) Copyright IBM Corporation 2007-2012. */ package polyglot.ast; import java.util.*; import polyglot.types.ClassType; import polyglot.types.Context; import polyglot.types.ErrorRef_c; import polyglot.types.MethodDef; import polyglot.types.ProcedureInstance; import polyglot.types.ProcedureDef; import polyglot.types.SemanticException; import polyglot.types.Type; import polyglot.types.TypeSystem; import polyglot.types.Types; import polyglot.util.CodeWriter; import polyglot.util.CollectionUtil; import x10.util.CollectionFactory; import polyglot.util.InternalCompilerError; import polyglot.util.Position; import polyglot.util.TypedList; import polyglot.visit.CFGBuilder; import polyglot.visit.ContextVisitor; import polyglot.visit.ExceptionChecker; import polyglot.visit.NodeVisitor; import polyglot.visit.PrettyPrinter; import polyglot.visit.TypeBuilder; import x10.types.MethodInstance; import x10.ast.X10Call; /** * A <code>Call</code> is an immutable representation of a Java * method call. It consists of a method name and a list of arguments. * It may also have either a Type upon which the method is being * called or an expression upon which the method is being called. */ public abstract class Call_c extends Expr_c implements Call // todo: delete me! and rename X10Call_c to Call_c { public Call_c(Position pos) { super(pos); } }