コード例 #1
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxInstructionThen::flatten(Envelope *envelope)
{
    setUpFlatten(RexxInstructionThen)

    flattenRef(nextInstruction);
    flattenRef(parent);

    cleanUpFlatten
}
コード例 #2
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxVariable::flatten(Envelope *envelope)
{
    setUpFlatten(RexxVariable)

     flattenRef(variableValue);
     flattenRef(variableName);
     flattenRef(dependents);

    cleanUpFlatten
}
コード例 #3
0
void SupplierClass::flatten(Envelope *envelope)
{
    setUpFlatten(SupplierClass)

    flattenRef(items);
    flattenRef(indexes);
    flattenRef(objectVariables);

    cleanUpFlatten
}
コード例 #4
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxInstructionIf::flatten(Envelope *envelope)
{
    setUpFlatten(RexxInstructionIf)

    flattenRef(nextInstruction);
    flattenRef(condition);
    flattenRef(else_location);

    cleanUpFlatten
}
コード例 #5
0
/**
 * Flatten the table contents as part of a saved program.
 *
 * @param envelope The envelope we're flattening into.
 */
void DirectoryClass::flatten(Envelope *envelope)
{
    setUpFlatten(DirectoryClass)

      flattenRef(contents);
      flattenRef(methodTable);
      flattenRef(unknownMethod);
      flattenRef(objectVariables);

    cleanUpFlatten
}
コード例 #6
0
/**
 * Flatten the table contents as part of a saved program.
 *
 * @param envelope The envelope we're flattening into.
 */
void StemClass::flatten(Envelope *envelope)
{
    setUpFlatten(StemClass)

    flattenRef(value);
    flattenRef(stemName);
    flattenRef(objectVariables);
    flattenCompoundTable();

    cleanUpFlatten
}
コード例 #7
0
ファイル: MethodClass.cpp プロジェクト: ooRexx/ooRexx
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void MethodClass::flatten(Envelope *envelope)
{
    setUpFlatten(MethodClass)

     flattenRef(scope);
     flattenRef(code);
     flattenRef(executableName);
     flattenRef(objectVariables);
     flattenRef(annotations);

    cleanUpFlatten
}
コード例 #8
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxInstructionMessage::flatten(Envelope *envelope)
{
    setUpFlatten(RexxInstructionMessage)

    flattenRef(nextInstruction);
    flattenRef(name);
    flattenRef(target);
    flattenRef(super);
    flattenArrayRefs(argumentCount, arguments);

    cleanUpFlatten
}
コード例 #9
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxInstructionDoCount::flatten(Envelope *envelope)
{
    setUpFlatten(RexxInstructionDoCount)

    flattenRef(nextInstruction);
    flattenRef(end);
    flattenRef(label);

    // flatten is a bit of a pain with embedded objects because
    // everything depends on having correct pointers to object references in
    // the copied buffer.  We need to directly reference all of the elements here.

    flattenRef(forLoop.forCount);

    cleanUpFlatten
}
コード例 #10
0
ファイル: CPPCode.cpp プロジェクト: jlfaucher/executor5
/**
 * Flatten the table contents as part of a saved program.
 *
 * @param envelope The envelope we're flattening into.
 */
void DelegateCode::flatten(Envelope *envelope)
{
    setUpFlatten(DelegateCode)

    flattenRef(attribute);

    cleanUpFlatten
}
コード例 #11
0
ファイル: CPPCode.cpp プロジェクト: jlfaucher/executor5
/**
 * Flatten the table contents as part of a saved program.
 *
 * @param envelope The envelope we're flattening into.
 */
void ConstantGetterCode::flatten(Envelope *envelope)
{
    setUpFlatten(ConstantGetterCode)

    flattenRef(constantValue);

    cleanUpFlatten
}
コード例 #12
0
ファイル: CPPCode.cpp プロジェクト: jlfaucher/executor5
/**
 * Flatten the table contents as part of a saved program.
 *
 * @param envelope The envelope we're flattening into.
 */
void AttributeGetterCode::flatten(Envelope *envelope)
{
    setUpFlatten(AttributeGetterCode)

    flattenRef(attribute);

    cleanUpFlatten
}
コード例 #13
0
/**
 * Flatten a source object.
 *
 * @param envelope The envelope that will hold the flattened object.
 */
void RexxInstructionControlledDoUntil::flatten(Envelope *envelope)
{
    setUpFlatten(RexxInstructionControlledDoUntil)

    flattenRef(nextInstruction);
    flattenRef(end);
    flattenRef(label);
    flattenRef(countVariable);

    // flatten is a bit of a pain with embedded objects because
    // everything depends on having correct pointers to object references in
    // the copied buffer.  We need to directly reference all of the elements here.

    flattenRef(controlLoop.initial);
    flattenRef(controlLoop.to);
    flattenRef(controlLoop.by);
    flattenRef(controlLoop.forCount);
    flattenRef(controlLoop.control);
    flattenRef(whileLoop.conditional);

    cleanUpFlatten
}