Interface CBElementCheckerType<T extends CBASTElementType>
- Type Parameters:
T- The type of elements
- All Known Implementing Classes:
CBTypeDeclarationChecker,CBTypeExpressionChecker,CBTypeProtocolChecker
public interface CBElementCheckerType<T extends CBASTElementType>
Type checking for various AST elements.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(CBTyperContextType context, T item) Check the type of an element.
-
Method Details
-
check
Check the type of an element.- Parameters:
context- The typing contextitem- The element- Throws:
CBTypeCheckFailedException- On type errors
-