Package polyglot.ext.op

Provides extensions to the compiler to allow primitives to be used as objects.

See:
          Description

Class Summary
ExtensionInfo  
OPCast  
OPCastRewriter  
OPInstanceOf  
OPNodeFactory  
OPParsedClassType_c An PrimitiveType_c represents a primitive type.
OPParserWrapper Wrapper for a OP parser.
OPPrimitiveType_c An PrimitiveType_c represents a primitive type.
OPTypeSystem  
Topics Extension information for op extension.
 

Package polyglot.ext.op Description

Provides extensions to the compiler to allow primitives to be used as objects.

This package allows for any java primitive (bool, char, short, int, long, float, or double ) to be used as an object. Thus, implicit casting from int to Object is handled; it also allows for an explicit cast from Object to int.