pt.compiler.parser.ast.type
Class ReferenceType

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.ReferenceType

public final class ReferenceType
extends Type

Author:
Julio Vilmar Gesser

Constructor Summary
ReferenceType(int line, int column, Type type, int arrayCount)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 int getArrayCount()
           
 Type getType()
           
 
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

ReferenceType

public ReferenceType(int line,
                     int column,
                     Type type,
                     int arrayCount)
Method Detail

getType

public Type getType()

getArrayCount

public int getArrayCount()

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