de.dante.extex.interpreter.context.observer.code
Interface CodeObserver


public interface CodeObserver

This interface describes the ability to receive a notification about the change of a code assignment for a macro or an active character.

Version:
$Revision: 1.2 $
Author:
Gerd Neugebauer

Method Summary
 void receiveCodeChange(ContextInternals context, Token name, Code value)
          Receive a notification on a code change.
 

Method Detail

receiveCodeChange

public void receiveCodeChange(ContextInternals context,
                              Token name,
                              Code value)
                       throws java.lang.Exception
Receive a notification on a code change.

Parameters:
context - the interpreter context
name - the token containing the name of the changed entity. This is a macro or an active character.
value - the new value assigned to the name. In case of null the name is unbound.
Throws:
java.lang.Exception - in case of a problem