Package com.io7m.cedarbridge.schema.compiler.internal

# Class CBSchemaCompilerInternalFactory

java.lang.Object
com.io7m.cedarbridge.schema.compiler.internal.CBSchemaCompilerInternalFactory

public final class CBSchemaCompilerInternalFactory extends Object
An internal compiler factory.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBSchemaCompilerInternalFactory(CBExpressionSourceFactoryType inSources, CBParserFactoryType inParsers, CBBinderFactoryType inBinders, CBTypeCheckerFactoryType inTypers)`
  An internal compiler factory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBSchemaCompilerType`
  `createNewCompiler(Consumer<CBError> errorConsumer, CBSchemaCompilerConfiguration configuration, CBLoader loader)`
  Create a new compiler.

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

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

- ## Constructor Details

  - ### CBSchemaCompilerInternalFactory

    public CBSchemaCompilerInternalFactory(CBExpressionSourceFactoryType inSources, CBParserFactoryType inParsers, CBBinderFactoryType inBinders, CBTypeCheckerFactoryType inTypers)
    An internal compiler factory.
    Parameters:
      `inBinders` - A source of binders
      `inParsers` - A source of parsers
      `inSources` - A source of expression sources
      `inTypers` - A source of type checkers

- ## Method Details

  - ### createNewCompiler

    public CBSchemaCompilerType createNewCompiler(Consumer<CBError> errorConsumer, CBSchemaCompilerConfiguration configuration, CBLoader loader)
    Create a new compiler.
    Parameters:
      `errorConsumer` - The error consumer
      `configuration` - The compiler configuration
      `loader` - The package loader
    Returns:
      A new compiler