Package ru.ispras.castle.ast.basis
Interface ErrorHandler<Tag extends java.lang.Enum<Tag>>
-
public interface ErrorHandler<Tag extends java.lang.Enum<Tag>>
ErrorHandler
is a base interface of an error handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(SyntaxNode<Tag> newNode, SyntaxNode<Tag> oldNode)
Handles an error.
-
-
-
Method Detail
-
handle
void handle(SyntaxNode<Tag> newNode, SyntaxNode<Tag> oldNode)
Handles an error.- Parameters:
newNode
- the current node.oldNode
- the old node (for handling redefinition errors).
-
-