pt.compiler.parser.ast.type
Class PrimitiveType

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

public final class PrimitiveType
extends Type

Author:
Julio Vilmar Gesser

Nested Class Summary
static class PrimitiveType.Primitive
           
 
Constructor Summary
PrimitiveType(int line, int column, PrimitiveType.Primitive type)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 PrimitiveType.Primitive 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

PrimitiveType

public PrimitiveType(int line,
                     int column,
                     PrimitiveType.Primitive type)
Method Detail

getType

public PrimitiveType.Primitive getType()

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