|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.type.AbstractCode
org.extex.unit.tex.math.AbstractMathCode
org.extex.unit.tex.math.delimiter.AbstractTeXDelimiter
public abstract class AbstractTeXDelimiter
This abstract class adds the ability to translate
MathDelimiters to and
from their
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Constructor Summary | |
|---|---|
AbstractTeXDelimiter(CodeToken token)
Creates a new object. |
|
| Method Summary | |
|---|---|
static long |
delimiterToLong(MathDelimiter del)
Translate the delimiter into a |
protected static Localizer |
getMyLocalizer()
Create a localizer for this class. |
static MathDelimiter |
newMathDelimiter(long delcode)
Creates a new MathDelimiter object from the |
static MathDelimiter |
parseDelimiter(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
Parse a math delimiter. |
| Methods inherited from class org.extex.unit.tex.math.AbstractMathCode |
|---|
getListMaker |
| Methods inherited from class org.extex.interpreter.type.AbstractCode |
|---|
execute, getLocalizer, getName, getToken, isIf, isOuter, readResolve, toString, toText, toText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final long serialVersionUID
| Constructor Detail |
|---|
public AbstractTeXDelimiter(CodeToken token)
token - the initial token for the primitive| Method Detail |
|---|
public static long delimiterToLong(MathDelimiter del)
throws HelpingException
del - the delimiter to encode
HelpingException - in case of an errorprotected static Localizer getMyLocalizer()
public static MathDelimiter newMathDelimiter(long delcode)
throws HelpingException
The
delcode - the HelpingException - in case of a parameter out of range
public static MathDelimiter parseDelimiter(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
throws HelpingException,
ConfigurationException,
TypesetterException
\delimiter"1234567 \delimiter open 22 `[ 1 `(
context - the interpreter contextsource - the token source to read fromtypesetter - the typesetterprimitive - the name of the primitive for error handling
HelpingException - in case of an error
ConfigurationException - in case of an configuration error
TypesetterException - in case of an error in the typesetter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||