Class CBTypeDeclarationChecker
java.lang.Object
com.io7m.cedarbridge.schema.typer.internal.CBTypeDeclarationChecker
- All Implemented Interfaces:
CBElementCheckerType<CBASTTypeDeclarationType>
public final class CBTypeDeclarationChecker
extends Object
implements CBElementCheckerType<CBASTTypeDeclarationType>
Type checking of type declarations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(CBTyperContextType context, CBASTTypeDeclarationType item) Check the type of an element.
-
Constructor Details
-
CBTypeDeclarationChecker
public CBTypeDeclarationChecker()Type checking of type declarations.
-
-
Method Details
-
check
public void check(CBTyperContextType context, CBASTTypeDeclarationType item) throws CBTypeCheckFailedException Description copied from interface:CBElementCheckerTypeCheck the type of an element.- Specified by:
checkin interfaceCBElementCheckerType<CBASTTypeDeclarationType>- Parameters:
context- The typing contextitem- The element- Throws:
CBTypeCheckFailedException- On type errors
-