pt.compiler.parser.ast
Class PackageDeclaration
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.PackageDeclaration
public final class PackageDeclaration
- extends Node
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PackageDeclaration
public PackageDeclaration(int line,
int column,
java.util.List<AnnotationExpr> annotations,
NameExpr name)
getAnnotations
public java.util.List<AnnotationExpr> getAnnotations()
getName
public NameExpr getName()
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