Class CBBinderContext
java.lang.Object
com.io7m.cedarbridge.schema.binder.internal.CBBinderContext
The contextual information used during binding analysis.
-
Constructor Summary
ConstructorsConstructorDescriptionCBBinderContext(CBStringsType inStrings, CBLoaderType inLoader, CBExpressionLineLogType inLineLog, Consumer<CBError> inErrorConsumer, String inPackageName, CBASTLanguage inLanguage) The contextual information used during binding analysis. -
Method Summary
-
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 stringsinLoader- The loaderinLineLog- The line log for incoming expressionsinErrorConsumer- The error consumerinPackageName- The package nameinLanguage- The language being analyzed
-
-
Method Details
-
current
- Returns:
- The current binder context
-
errorCount
public int errorCount()- Returns:
- The number of errors encountered
-