BuiltinCommand and BuiltinEnvironment.
| Modifier and Type | Field and Description |
|---|---|
| protected final EnumSet | |
| protected final boolean | |
| protected final int | |
| protected final H | |
| protected final EnumMap | |
| protected final String | |
| protected final TextFlowContext |
| Access | Constructor and Description |
|---|---|
| protected | BuiltinCommandOrEnvironment(final String texName, final boolean allowingOptionalArgument, final int argumentCount, final EnumSet<LaTeXMode> allowedModes, final EnumMap<InterpretationType, Interpretation> interpretationMap, final TextFlowContext textFlowContext, final H domBuildingHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| public EnumSet | |
| public int | getArgumentCount()
Implements uk. Returns the number of mandatory arguments this command expects, which will be zero or greater. |
| public H | |
| public Interpretation | |
| public EnumMap | |
| public String | getTeXName()
Implements uk. Returns the TeX name for this command or environment. |
| public TextFlowContext | |
| public boolean | |
| public boolean | isAllowingOptionalArgument()
Implements uk. Returns whether this command/environment takes an optional argument. |
| public final String |
| allowedModes | back to summary |
|---|---|
| protected final EnumSet<LaTeXMode> allowedModes | |
| allowingOptionalArgument | back to summary |
|---|---|
| protected final boolean allowingOptionalArgument | |
| argumentCount | back to summary |
|---|---|
| protected final int argumentCount | |
| domBuildingHandler | back to summary |
|---|---|
| protected final H domBuildingHandler | |
| interpretationMap | back to summary |
|---|---|
| protected final EnumMap<InterpretationType, Interpretation> interpretationMap | |
| texName | back to summary |
|---|---|
| protected final String texName | |
| textFlowContext | back to summary |
|---|---|
| protected final TextFlowContext textFlowContext | |
| BuiltinCommandOrEnvironment | back to summary |
|---|---|
| protected BuiltinCommandOrEnvironment(final String texName, final boolean allowingOptionalArgument, final int argumentCount, final EnumSet<LaTeXMode> allowedModes, final EnumMap<InterpretationType, Interpretation> interpretationMap, final TextFlowContext textFlowContext, final H domBuildingHandler) | |
| getAllowedModes | back to summary |
|---|---|
| public EnumSet | |
| getArgumentCount | back to summary |
|---|---|
| public int getArgumentCount() Implements uk. Doc from uk. Returns the number of mandatory arguments this command expects, which will be zero or greater. | |
| getDOMBuildingHandler | back to summary |
|---|---|
| public H getDOMBuildingHandler() | |
| getInterpretation | back to summary |
|---|---|
| public Interpretation getInterpretation(InterpretationType type) | |
| getInterpretationMap | back to summary |
|---|---|
| public EnumMap | |
| getTeXName | back to summary |
|---|---|
| public String getTeXName() Implements uk. Doc from uk. Returns the TeX name for this command or environment. (In the case of commands, this does not include the leading backslash.) | |
| getTextFlowContext | back to summary |
|---|---|
| public TextFlowContext getTextFlowContext() | |
| hasInterpretation | back to summary |
|---|---|
| public boolean hasInterpretation(InterpretationType type) | |
| isAllowingOptionalArgument | back to summary |
|---|---|
| public boolean isAllowingOptionalArgument() Implements uk. Doc from uk. Returns whether this command/environment takes an optional argument. As per LaTeX convention, this will only return true if the command/environment takes at least one mandatory argument as well. | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |