polyglot.ext.pao.types
Interface PaoTypeSystem

All Superinterfaces:
TypeSystem
All Known Implementing Classes:
PaoTypeSystem_c

public interface PaoTypeSystem
extends TypeSystem

The PAO type system interface.


Method Summary
 Type boxedType(PrimitiveType t)
          Return boxed type runtime.T for primitive t.
 MethodInstance getter(PrimitiveType t)
          Return the method instance for runtime.T.tValue()
 MethodInstance primitiveEquals()
          Return the method instance for runtime.Primitive.equals
 ConstructorInstance wrapper(PrimitiveType t)
          Return the constructor instance for runtime.T.T(t)
 
Methods inherited from interface polyglot.types.TypeSystem
Abstract, ArithmeticException, arrayOf, arrayOf, arrayOf, arrayOf, ArrayStoreException, Boolean, Byte, callValid, canCoerceToString, canOverride, Char, checkAccessFlags, checkClassConformance, checkConstructorFlags, checkCycles, checkFieldFlags, checkInitializerFlags, checkLocalClassFlags, checkLocalFlags, checkMemberClassFlags, checkMethodFlags, checkOverride, checkTopLevelClassFlags, Class, classAccessible, classAccessibleFromPackage, ClassCastException, classContextResolver, Cloneable, constructorInstance, createClassType, createClassType, createClassType, createClassType, createContext, createNewFlag, defaultClassInitializer, defaultConstructor, defaultPackageImports, descendsFrom, Double, equals, Error, Exception, fieldInstance, Final, findConstructor, findConstructor, findField, findField, findField, findMemberClass, findMemberClass, findMemberClass, findMethod, findMethod, flagsForBits, Float, getTransformedClassName, getTypeEncoderRootSet, hasEnclosingInstance, hasFormals, hasMethod, implemented, importTable, importTable, initialize, initializerInstance, Int, Interface, interfaces, isAccessible, isCanonical, isCastValid, isEnclosed, isImplicitCastValid, isSameMethod, isSubtype, isThrowable, isUncheckedException, leastCommonAncestor, loadedResolver, localInstance, Long, methodCallValid, methodInstance, moreSpecific, Native, NoFlags, Null, NullPointerException, numericConversionValid, numericConversionValid, Object, OutOfBoundsException, overrides, packageContextResolver, packageExists, packageForName, packageForName, parsedResolver, placeHolder, placeHolder, primitiveForName, Private, promote, promote, Protected, Public, RuntimeException, Serializable, Short, Static, staticTarget, StrictFP, String, superType, Synchronized, systemResolver, Throwable, throwsSubset, Transient, translateArray, translateClass, translatePackage, translatePrimitive, typeForName, uncheckedExceptions, unknownQualifier, unknownType, Void, Volatile, wrapperTypeString
 

Method Detail

primitiveEquals

public MethodInstance primitiveEquals()
Return the method instance for runtime.Primitive.equals


getter

public MethodInstance getter(PrimitiveType t)
Return the method instance for runtime.T.tValue()


wrapper

public ConstructorInstance wrapper(PrimitiveType t)
Return the constructor instance for runtime.T.T(t)


boxedType

public Type boxedType(PrimitiveType t)
Return boxed type runtime.T for primitive t.