|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.type.TypeVisitorLambda<RetType>
edu.rice.cs.dynamicjava.symbol.type.TypeAbstractVisitor<RetType>
public abstract class TypeAbstractVisitor<RetType>
A parametric abstract implementation of a visitor over Type that return a value. This visitor implements the visitor interface with methods that each delegate to a case representing their superclass. At the top of this delegation tree is the method defaultCase(), which (unless overridden) throws an exception.
| Constructor Summary | |
|---|---|
TypeAbstractVisitor()
|
|
| Method Summary | |
|---|---|
RetType |
defaultCase(Type that)
This method is run for all cases that are not handled elsewhere. |
RetType |
forArrayType(ArrayType that)
|
RetType |
forBooleanType(BooleanType that)
Process an instance of BooleanType. |
RetType |
forBottomType(BottomType that)
Process an instance of BottomType. |
RetType |
forBoundType(BoundType that)
|
RetType |
forByteType(ByteType that)
Process an instance of ByteType. |
RetType |
forCharType(CharType that)
Process an instance of CharType. |
RetType |
forClassType(ClassType that)
|
RetType |
forDoubleType(DoubleType that)
Process an instance of DoubleType. |
RetType |
forFloatingPointType(FloatingPointType that)
|
RetType |
forFloatType(FloatType that)
Process an instance of FloatType. |
RetType |
forIntegerType(IntegerType that)
|
RetType |
forIntegralType(IntegralType that)
|
RetType |
forIntersectionType(IntersectionType that)
Process an instance of IntersectionType. |
RetType |
forIntType(IntType that)
Process an instance of IntType. |
RetType |
forLongType(LongType that)
Process an instance of LongType. |
RetType |
forNullType(NullType that)
Process an instance of NullType. |
RetType |
forNumericType(NumericType that)
|
RetType |
forParameterizedClassType(ParameterizedClassType that)
Process an instance of ParameterizedClassType. |
RetType |
forPrimitiveType(PrimitiveType that)
|
RetType |
forRawClassType(RawClassType that)
Process an instance of RawClassType. |
RetType |
forReferenceType(ReferenceType that)
|
RetType |
forShortType(ShortType that)
Process an instance of ShortType. |
RetType |
forSimpleArrayType(SimpleArrayType that)
Process an instance of SimpleArrayType. |
RetType |
forSimpleClassType(SimpleClassType that)
Process an instance of SimpleClassType. |
RetType |
forTopType(TopType that)
Process an instance of TopType. |
RetType |
forType(Type that)
|
RetType |
forUnionType(UnionType that)
Process an instance of UnionType. |
RetType |
forValidType(ValidType that)
|
RetType |
forVarargArrayType(VarargArrayType that)
Process an instance of VarargArrayType. |
RetType |
forVariableType(VariableType that)
Process an instance of VariableType. |
RetType |
forVoidType(VoidType that)
Process an instance of VoidType. |
RetType |
forWildcard(Wildcard that)
Process an instance of Wildcard. |
| Methods inherited from class edu.rice.cs.dynamicjava.symbol.type.TypeVisitorLambda |
|---|
value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeAbstractVisitor()
| Method Detail |
|---|
public RetType defaultCase(Type that)
IllegalArgumentExceptionpublic RetType forType(Type that)
public RetType forValidType(ValidType that)
public RetType forPrimitiveType(PrimitiveType that)
public RetType forBooleanType(BooleanType that)
TypeVisitorLambda
forBooleanType in interface TypeVisitor<RetType>forBooleanType in class TypeVisitorLambda<RetType>public RetType forNumericType(NumericType that)
public RetType forIntegralType(IntegralType that)
public RetType forCharType(CharType that)
TypeVisitorLambda
forCharType in interface TypeVisitor<RetType>forCharType in class TypeVisitorLambda<RetType>public RetType forIntegerType(IntegerType that)
public RetType forByteType(ByteType that)
TypeVisitorLambda
forByteType in interface TypeVisitor<RetType>forByteType in class TypeVisitorLambda<RetType>public RetType forShortType(ShortType that)
TypeVisitorLambda
forShortType in interface TypeVisitor<RetType>forShortType in class TypeVisitorLambda<RetType>public RetType forIntType(IntType that)
TypeVisitorLambda
forIntType in interface TypeVisitor<RetType>forIntType in class TypeVisitorLambda<RetType>public RetType forLongType(LongType that)
TypeVisitorLambda
forLongType in interface TypeVisitor<RetType>forLongType in class TypeVisitorLambda<RetType>public RetType forFloatingPointType(FloatingPointType that)
public RetType forFloatType(FloatType that)
TypeVisitorLambda
forFloatType in interface TypeVisitor<RetType>forFloatType in class TypeVisitorLambda<RetType>public RetType forDoubleType(DoubleType that)
TypeVisitorLambda
forDoubleType in interface TypeVisitor<RetType>forDoubleType in class TypeVisitorLambda<RetType>public RetType forReferenceType(ReferenceType that)
public RetType forNullType(NullType that)
TypeVisitorLambda
forNullType in interface TypeVisitor<RetType>forNullType in class TypeVisitorLambda<RetType>public RetType forArrayType(ArrayType that)
public RetType forSimpleArrayType(SimpleArrayType that)
TypeVisitorLambda
forSimpleArrayType in interface TypeVisitor<RetType>forSimpleArrayType in class TypeVisitorLambda<RetType>public RetType forVarargArrayType(VarargArrayType that)
TypeVisitorLambda
forVarargArrayType in interface TypeVisitor<RetType>forVarargArrayType in class TypeVisitorLambda<RetType>public RetType forClassType(ClassType that)
public RetType forSimpleClassType(SimpleClassType that)
TypeVisitorLambda
forSimpleClassType in interface TypeVisitor<RetType>forSimpleClassType in class TypeVisitorLambda<RetType>public RetType forRawClassType(RawClassType that)
TypeVisitorLambda
forRawClassType in interface TypeVisitor<RetType>forRawClassType in class TypeVisitorLambda<RetType>public RetType forParameterizedClassType(ParameterizedClassType that)
TypeVisitorLambda
forParameterizedClassType in interface TypeVisitor<RetType>forParameterizedClassType in class TypeVisitorLambda<RetType>public RetType forBoundType(BoundType that)
public RetType forIntersectionType(IntersectionType that)
TypeVisitorLambda
forIntersectionType in interface TypeVisitor<RetType>forIntersectionType in class TypeVisitorLambda<RetType>public RetType forUnionType(UnionType that)
TypeVisitorLambda
forUnionType in interface TypeVisitor<RetType>forUnionType in class TypeVisitorLambda<RetType>public RetType forVariableType(VariableType that)
TypeVisitorLambda
forVariableType in interface TypeVisitor<RetType>forVariableType in class TypeVisitorLambda<RetType>public RetType forTopType(TopType that)
TypeVisitorLambda
forTopType in interface TypeVisitor<RetType>forTopType in class TypeVisitorLambda<RetType>public RetType forBottomType(BottomType that)
TypeVisitorLambda
forBottomType in interface TypeVisitor<RetType>forBottomType in class TypeVisitorLambda<RetType>public RetType forVoidType(VoidType that)
TypeVisitorLambda
forVoidType in interface TypeVisitor<RetType>forVoidType in class TypeVisitorLambda<RetType>public RetType forWildcard(Wildcard that)
TypeVisitorLambda
forWildcard in interface TypeVisitor<RetType>forWildcard in class TypeVisitorLambda<RetType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||