|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Backend.Generic.Runtime.ObjectBuilder
public abstract static class Runtime.ObjectBuilder
The ObjectBuilder
constructs data tables in the
IR.Tree
form to represent static objects which may
be needed by the runtime---primarily string constant objects.
Not every runtime need implement an ObjectBuilder
.
Nested Class Summary | |
---|---|
static interface |
Runtime.ObjectBuilder.ArrayInfo
Information needed to build an array object. |
static interface |
Runtime.ObjectBuilder.Info
General information about a built object's type and what label to use to refer to it. |
static interface |
Runtime.ObjectBuilder.ObjectInfo
Information needed to build a non-array object. |
Constructor Summary | |
---|---|
Runtime.ObjectBuilder()
|
Method Summary | |
---|---|
abstract Stm |
buildArray(TreeFactory tf,
Runtime.ObjectBuilder.ArrayInfo info,
boolean exported)
Build an array. |
abstract Stm |
buildObject(TreeFactory tf,
Runtime.ObjectBuilder.ObjectInfo info,
boolean exported)
Build an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Runtime.ObjectBuilder()
Method Detail |
---|
public abstract Stm buildArray(TreeFactory tf, Runtime.ObjectBuilder.ArrayInfo info, boolean exported)
info
- Information about the type, length and contents of
the array to build.segtype
- Segment in which to put the built array.exported
- true
if this object's label
is to be exported outside its module.public abstract Stm buildObject(TreeFactory tf, Runtime.ObjectBuilder.ObjectInfo info, boolean exported)
info
- Information about the type and contents of
the object to build.segtype
- Segment in which to put the built object.exported
- true
if this object's label
is to be exported outside its module.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |