/** * 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 }
/** * 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 }
void SupplierClass::flatten(Envelope *envelope) { setUpFlatten(SupplierClass) flattenRef(items); flattenRef(indexes); flattenRef(objectVariables); cleanUpFlatten }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }
/** * 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 }