pt.compiler.parser.ast.type
Class ClassOrInterfaceType

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.type.Type
          extended by pt.compiler.parser.ast.type.ClassOrInterfaceType

public final class ClassOrInterfaceType
extends Type

Author:
Julio Vilmar Gesser

Constructor Summary
ClassOrInterfaceType(int line, int column, ClassOrInterfaceType scope, java.lang.String name, java.util.List<Type> typeArgs)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 java.lang.String getName()
           
 ClassOrInterfaceType getScope()
           
 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

ClassOrInterfaceType

public ClassOrInterfaceType(int line,
                            int column,
                            ClassOrInterfaceType scope,
                            java.lang.String name,
                            java.util.List<Type> typeArgs)
Method Detail

getScope

public ClassOrInterfaceType getScope()

getName

public java.lang.String getName()

getTypeArgs

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

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