You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Expr.java 1002B

12345678910111213141516171819202122232425262728293031323334
  1. /* *******************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * PARC initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver.ast;
  13. import org.aspectj.weaver.Member;
  14. import org.aspectj.weaver.ResolvedType;
  15. public abstract class Expr extends ASTNode {
  16. public Expr() {
  17. super();
  18. }
  19. public static final Expr[] NONE = new Expr[0];
  20. public abstract void accept(IExprVisitor v);
  21. public abstract ResolvedType getType();
  22. public static CallExpr makeCallExpr(Member member, Expr[] exprs, ResolvedType returnType) {
  23. return new CallExpr(member, exprs, returnType);
  24. }
  25. }