org.extex.unit.tex.macro.util
Class ProtectedMacroCode

java.lang.Object
  extended by org.extex.interpreter.type.AbstractCode
      extended by org.extex.unit.tex.macro.util.MacroCode
          extended by org.extex.unit.tex.macro.util.ProtectedMacroCode
All Implemented Interfaces:
java.io.Serializable, LogEnabled, Code, ComparableCode, ExpandableCode, PrefixCode, ProtectedCode, Showable

public class ProtectedMacroCode
extends MacroCode
implements ProtectedCode

This class is identical to the super class MacroCode but in addition it implements the marker interface ProtectedCode.

Version:
$Revision: 4732 $
Author:
Gerd Neugebauer
See Also:
Serialized Form

Field Summary
protected static long serialVersionUID
          The constant serialVersionUID contains the id for serialization.
 
Constructor Summary
ProtectedMacroCode(CodeToken token, Flags flags, boolean notLong, MacroPattern thePattern, Tokens theBody)
          Creates a new object.
 
Method Summary
 
Methods inherited from class org.extex.unit.tex.macro.util.MacroCode
compare, enableLogging, execute, expand, getLocalizer, isOuter, show
 
Methods inherited from class org.extex.interpreter.type.AbstractCode
getName, getToken, isIf, readResolve, toString, toText, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

protected static final long serialVersionUID
The constant serialVersionUID contains the id for serialization.

See Also:
Constant Field Values
Constructor Detail

ProtectedMacroCode

public ProtectedMacroCode(CodeToken token,
                          Flags flags,
                          boolean notLong,
                          MacroPattern thePattern,
                          Tokens theBody)
                   throws HelpingException
Creates a new object.

Parameters:
token - the initial token for the primitive
flags - the flags controlling the behavior of the macro
thePattern - the pattern for the acquiring of the arguments
theBody - the expansion text
notLong - the indicator that the macro does not allow embedded pars
Throws:
HelpingException - in case of an error