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