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