Package com.io7m.cedarbridge.schema.typer.internal

# Class CBTypePackageConverter

java.lang.Object
com.io7m.cedarbridge.schema.typer.internal.CBTypePackageConverter

public final class CBTypePackageConverter extends Object
A simple translator from ASTs to the more abstract compiled model.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBTypePackageConverter()`
  Construct a package builder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBPackageType`
  `build(CBASTPackage pack)`
  Build a compiled package from the given AST.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CBTypePackageConverter

    public CBTypePackageConverter()
    Construct a package builder.

- ## Method Details

  - ### build

    public CBPackageType build(CBASTPackage pack)
    Build a compiled package from the given AST. This assumes that all binding analysis and type checking has been completed, and that the AST will have the expected user data annotations.
    Parameters:
      `pack` - The package
    Returns:
      A compiled package