|
||||||||||
| 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.omega.mode.AbstractModeCode
public abstract class AbstractModeCode
This is the abstract base class for primitives dealing with an input or output mode as defined by Omega.
| Field Summary | |
|---|---|
protected static java.lang.String |
DEFAULT_INPUT_MODE
The constant INPUT_MODE contains the key for the input mode. |
protected static java.lang.String |
DEFAULT_INPUT_TRANSLATION
The constant DEFAULT_INPUT_TRANSLATION contains the key for the default input translation. |
protected static java.lang.String |
DEFAULT_OUTPUT_MODE
The constant OUTPUT_MODE contains the key for the output mode. |
protected static java.lang.String |
DEFAULT_OUTPUT_TRANSLATION
The constant DEFAULT_OUTPUT_TRANSLATION contains the key for the default output translation. |
protected static java.lang.String |
INPUT_MODE
The constant INPUT_MODE contains the key for the input mode. |
protected static java.lang.String |
INPUT_TRANSLATION
The constant INPUT_TRANSLATION contains the key for the input translation. |
protected static java.lang.String |
OUTPUT_MODE
The constant OUTPUT_MODE contains the key for the output mode. |
protected static java.lang.String |
OUTPUT_TRANSLATION
The constant OUTPUT_TRANSLATION contains the key for the output translation. |
| Fields inherited from class org.extex.interpreter.type.AbstractCode |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
AbstractModeCode(CodeToken token)
Creates a new object. |
|
| Method Summary | |
|---|---|
protected OmegaMode |
scanInputMode(Context context,
TokenSource source)
Scan the token source for a keyword describing an input mode. |
protected OmegaMode |
scanOutputMode(Context context,
TokenSource source)
Scan the token source for a keyword describing an input mode. |
| 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 java.lang.String DEFAULT_INPUT_MODE
protected static final java.lang.String DEFAULT_INPUT_TRANSLATION
protected static final java.lang.String DEFAULT_OUTPUT_MODE
protected static final java.lang.String DEFAULT_OUTPUT_TRANSLATION
protected static final java.lang.String INPUT_MODE
protected static final java.lang.String INPUT_TRANSLATION
protected static final java.lang.String OUTPUT_MODE
protected static final java.lang.String OUTPUT_TRANSLATION
| Constructor Detail |
|---|
public AbstractModeCode(CodeToken token)
token - the initial token for the primitive| Method Detail |
|---|
protected OmegaMode scanInputMode(Context context,
TokenSource source)
throws HelpingException
context - the interpreter contextsource - the source for new tokens
HelpingException - in case of an error
protected OmegaMode scanOutputMode(Context context,
TokenSource source)
throws HelpingException
context - the interpreter contextsource - the source for new tokens
HelpingException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||