Package com.io7m.cedarbridge.schema.compiler.api

# Interface CBSchemaCompilerFactoryType

All Known Implementing Classes:
  `CBSchemaCompilerFactory`

public interface CBSchemaCompilerFactoryType
A factory of compilers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBSchemaCompilerType`
  `createCompiler(CBSchemaCompilerConfiguration configuration)`
  Create a compiler for the given configuration.
  `CBSchemaCompilerType`
  `createCompiler(CBSchemaCompilerConfiguration configuration, Consumer<CBError> errorConsumer)`
  Create a compiler for the given configuration.

- ## Method Details

  - ### createCompiler

    CBSchemaCompilerType createCompiler(CBSchemaCompilerConfiguration configuration)
    Create a compiler for the given configuration.
    Parameters:
      `configuration` - The compiler configuration
    Returns:
      A new compiler

  - ### createCompiler

    CBSchemaCompilerType createCompiler(CBSchemaCompilerConfiguration configuration, Consumer<CBError> errorConsumer)
    Create a compiler for the given configuration.
    Parameters:
      `configuration` - The compiler configuration
      `errorConsumer` - An error consumer function
    Returns:
      A new compiler