pt.compiler.parser.ast.expr
Class ObjectCreationExpr

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.expr.Expression
          extended by pt.compiler.parser.ast.expr.ObjectCreationExpr

public final class ObjectCreationExpr
extends Expression

Author:
Julio Vilmar Gesser

Constructor Summary
ObjectCreationExpr(int line, int column, Expression scope, ClassOrInterfaceType type, java.util.List<Type> typeArgs, java.util.List<Expression> args, java.util.List<BodyDeclaration> anonymousBody)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 java.util.List<BodyDeclaration> getAnonymousClassBody()
           
 java.util.List<Expression> getArgs()
           
 Expression getScope()
           
 ClassOrInterfaceType getType()
           
 java.util.List<Type> getTypeArgs()
           
 
Methods inherited from class pt.compiler.parser.ast.Node
getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectCreationExpr

public ObjectCreationExpr(int line,
                          int column,
                          Expression scope,
                          ClassOrInterfaceType type,
                          java.util.List<Type> typeArgs,
                          java.util.List<Expression> args,
                          java.util.List<BodyDeclaration> anonymousBody)
Method Detail

getScope

public Expression getScope()

getType

public ClassOrInterfaceType getType()

getTypeArgs

public java.util.List<Type> getTypeArgs()

getArgs

public java.util.List<Expression> getArgs()

getAnonymousClassBody

public java.util.List<BodyDeclaration> getAnonymousClassBody()

accept

public <A> void accept(VoidVisitor<A> v,
                       A arg)
Overrides:
accept in class Node

accept

public <R,A> R accept(GenericVisitor<R,A> v,
                      A arg)
Overrides:
accept in class Node