Skip to content

Conversation

@thekid
Copy link
Member

@thekid thekid commented Feb 6, 2022

This way, emitters can control the implementation they want to work with.

@thekid
Copy link
Member Author

thekid commented Feb 8, 2022

...and Result should be an abstract base class with a slim interface

@thekid
Copy link
Member Author

thekid commented Feb 17, 2022

...and Result should be an abstract base class with a slim interface

@FileSystemCL<./src/main/php>
public class lang.ast.emit.Result implements lang.Closeable {
  public var $out
  public var $codegen
  public var $meta
  public var $locals
  public var $stack

  public function __construct(io.streams.OutputStream $out)

  protected function initialize(): void
  protected function finalize(): void
  public function close(): void
}

@thekid thekid merged commit 28ad9ec into master May 7, 2022
@thekid thekid deleted the refactor/emitter-creates-result branch May 7, 2022 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant