Class CBTypeChecker
java.lang.Object
com.io7m.cedarbridge.schema.typer.internal.CBTypeChecker
- All Implemented Interfaces:
CBTypeCheckerType,AutoCloseable
The main type checker.
-
Constructor Summary
ConstructorsConstructorDescriptionCBTypeChecker(Consumer<CBError> inErrors, CBExpressionLineLogType inLineLog, CBASTPackage inPackage, CBStringsType inStrings) The main type checker. -
Method Summary
-
Constructor Details
-
CBTypeChecker
public CBTypeChecker(Consumer<CBError> inErrors, CBExpressionLineLogType inLineLog, CBASTPackage inPackage, CBStringsType inStrings) The main type checker.- Parameters:
inLineLog- The line log for incoming expressionsinErrors- An error consumerinStrings- String resourcesinPackage- The package being checked
-
-
Method Details
-
execute
Description copied from interface:CBTypeCheckerTypeExecute the type checker.- Specified by:
executein interfaceCBTypeCheckerType- Throws:
CBTypeCheckFailedException- On errors
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCBTypeCheckerType
-