# Class CATypePackageCompiler

java.lang.Object
com.io7m.cardant.type_packages.compilers.internal.CATypePackageCompiler

All Implemented Interfaces:
  `CATypePackageCompilerType`

public final class CATypePackageCompiler extends Object implements CATypePackageCompilerType
A type package compiler.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CATypePackageCompiler(CAStrings inStrings, CATypePackageResolverType inResolver, CATypePackageParserFactoryType inParsers, CATypePackageCheckerFactoryType inCheckers)`
  A type package compiler.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CATypePackageCompileResultType`
  `execute(String text)`
  Compile the given package text.

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

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

- ## Constructor Details

  - ### CATypePackageCompiler

    public CATypePackageCompiler(CAStrings inStrings, CATypePackageResolverType inResolver, CATypePackageParserFactoryType inParsers, CATypePackageCheckerFactoryType inCheckers)
    A type package compiler.
    Parameters:
      `inStrings` - The strings
      `inResolver` - The resolver
      `inParsers` - The parsers
      `inCheckers` - The checkers

- ## Method Details

  - ### execute

    public CATypePackageCompileResultType execute(String text) throws IOException
    Description copied from interface: `CATypePackageCompilerType`
    Compile the given package text.
    Specified by:
      `execute` in interface `CATypePackageCompilerType`
    Parameters:
      `text` - The text
    Returns:
      The compilation result
    Throws:
      `IOException` - On I/O errors