Class CBBinder
java.lang.Object
com.io7m.cedarbridge.schema.binder.internal.CBBinder
- All Implemented Interfaces:
CBBinderType, AutoCloseable
Binding analysis for declarations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe protocol spec section.The record spec section.The variant spec section. -
Constructor Summary
ConstructorsConstructorDescriptionCBBinder(CBStringsType inStrings, CBLoaderType inLoader, Consumer<CBError> inErrors, CBExpressionLineLogType inLineLog, CBASTPackage inParsedPackage) Binding analysis for import declarations. -
Method Summary
-
Field Details
-
SPEC_SEMANTICS_RECORD
-
SPEC_SEMANTICS_VARIANT
-
SPEC_SEMANTICS_PROTOCOL
-
-
Constructor Details
-
CBBinder
public CBBinder(CBStringsType inStrings, CBLoaderType inLoader, Consumer<CBError> inErrors, CBExpressionLineLogType inLineLog, CBASTPackage inParsedPackage) Binding analysis for import declarations.- Parameters:
inStrings- String resourcesinLoader- A package loaderinErrors- An error consumerinLineLog- The line log for incoming expressionsinParsedPackage- The package to analyze
-
-
Method Details
-
execute
Description copied from interface:CBBinderTypeExecute the binder.- Specified by:
executein interfaceCBBinderType- Throws:
CBBindFailedException- On errors
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCBBinderType
-