Class CBTypePackageConverter
java.lang.Object
com.io7m.cedarbridge.schema.typer.internal.CBTypePackageConverter
A simple translator from ASTs to the more abstract compiled model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(CBASTPackage pack) Build a compiled package from the given AST.
-
Constructor Details
-
CBTypePackageConverter
public CBTypePackageConverter()Construct a package builder.
-
-
Method Details
-
build
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
-