org.extex.interpreter.type
Interface ComparableCode
- All Known Implementing Classes:
- FontCode, MacroCode, NullfontPrimitive, ProtectedMacroCode
public interface ComparableCode
This interface descries the ability to compare the current code to some
binding of a token in a context.
- Version:
- $Revision: 5586 $
- Author:
- Gerd Neugebauer
|
Method Summary |
boolean |
compare(Token token,
Context context)
Compare the code with some other code. |
compare
boolean compare(Token token,
Context context)
throws HelpingException
- Compare the code with some other code.
- Parameters:
token - the token to compare tocontext - the interpreter context
- Returns:
true iff the code is equivalent according to the
semantics of \ifx
- Throws:
HelpingException - in case of an error