JaCIL Framework API

StackObject Members

StackObject overview

Public Static Fields

FLOAT32 Represents Float32 stack item
FLOAT64 Represents Float64 stack item
GENERAL_OBJECT Represents general object stack item
INT32 Represents Int32 stack item
INT64 Represents Int64 stack item

Public Static Operators

Equality Operator Provides the equality operator for stack objects.
Inequality Operator Provides the non equality operator for stack objects.

Public Instance Constructors

StackObject Overloaded. Initializes a new instance of the StackObject class.

Public Instance Properties

ArrayRank Retrieves the rank of the type.
ArrayType Retrieves the name of the type of this object.
IsBoxedType Whether or not this stack object is effectively a boxed value type. That is, this is true if and only if the underlying type is a boxed type, and this stack object is not a pointer or array of the type.
IsUserValueType Returns whether this is an effective value type that is user defined
IsValueType Whether or not this stack object is effectively a value type. That is, this is true if and only if the underlying type is a value type, and this stack object is not a pointer or array of the type.
PointerType Retrieves the pointer type.
Type Retrieves the type of this item.
UnderlyingType Returns the underlying type name of this stack object.
UnderlyingValueType Retrieves the user defined value type-ness of the underlying type.

Public Instance Methods

CanMerge Returns whether or not this stack item is mergeable with another. Merging may consist of type promotion and as such is not the same as equality.
Equals Overloaded. Returns whether this stack object is equal to another
GetArrayObject Returns the stack object reprenting an array of this type.
GetBoxedObject Returns a stack object representation of this stack object as a boxed type.
GetElementObject Returns the stack object representation of the stack object's element.
GetHashCode Returns the hash code of this object.
GetPointedAt Returns the stack object representation of this object as the value poitned at
GetPointerTo Returns the stack object representation of this stack object as a pointer.
GetUnBoxedObject Returns the unboxed object representation of this stack object.
Merge Creates a stack object representing the merging of this stack object with another.
ToString Returns the string representation of this object.

See Also

StackObject Class | JaCIL.Compiler.Instruction Namespace