Package com.io7m.cedarbridge.schema.binder.internal

# Class CBBinderContext

java.lang.Object
com.io7m.cedarbridge.schema.binder.internal.CBBinderContext

public final class CBBinderContext extends Object
The contextual information used during binding analysis.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBBinderContext(CBStringsType inStrings, CBLoaderType inLoader, CBExpressionLineLogType inLineLog, Consumer<CBError> inErrorConsumer, String inPackageName, CBASTLanguage inLanguage)`
  The contextual information used during binding analysis.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBBinderContextType`
  `current()`
  `int`
  `errorCount()`

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

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

- ## Constructor Details

  - ### CBBinderContext

    public CBBinderContext(CBStringsType inStrings, CBLoaderType inLoader, CBExpressionLineLogType inLineLog, Consumer<CBError> inErrorConsumer, String inPackageName, CBASTLanguage inLanguage)
    The contextual information used during binding analysis.
    Parameters:
      `inStrings` - The strings
      `inLoader` - The loader
      `inLineLog` - The line log for incoming expressions
      `inErrorConsumer` - The error consumer
      `inPackageName` - The package name
      `inLanguage` - The language being analyzed

- ## Method Details

  - ### current

    public CBBinderContextType current()
    Returns:
      The current binder context

  - ### errorCount

    public int errorCount()
    Returns:
      The number of errors encountered