[code-reflection] Integrated: Externalizable operations

Paul Sandoz psandoz at openjdk.org
Wed May 1 18:23:16 UTC 2024


On Thu, 25 Apr 2024 23:19:26 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Rename `OpWithDefinition` to `ExternalizableOp` and specify as an operation whose contents may be externalized.
> Rename `OpDefintion` to `ExternalizedOp`, enclose in `ExternalizableOp`, and specify it as an operation's externalized content.
> 
> An externaliziable operation may be constructed from its externalized contents, for example by using an operation factory. 
> 
> The method `Op::attributes` is removed, and the method is defined on `ExternalizableOp`. The attribute map returned by the method is the external representation of specific contents of an operation.
> 
> In addition moved `OpDeclaration` to be enclosed within `OpFactory`.

This pull request has now been integrated.

Changeset: 9a3a7362
Author:    Paul Sandoz <psandoz at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/9a3a7362aad3d8958c4f027983a32d9fafe77498
Stats:     840 lines in 18 files changed: 224 ins; 270 del; 346 mod

Externalizable operations

Reviewed-by: mcimadamore

-------------

PR: https://git.openjdk.org/babylon/pull/62


More information about the babylon-dev mailing list