Command that has been defined internally via a SnugglePackage.
All of the core LaTeX macros have been defined in this way - see CorePackageDefinitions.
BuiltinEnvironment, CorePackageDefinitions
| Modifier and Type | Field and Description |
|---|---|
| private final LaTeXMode[] | argumentModes
Mode to use when parsing arguments. |
| private final CombinerTargetMatcher | |
| private final CommandType |
| Access | Constructor and Description |
|---|---|
| public | BuiltinCommand(final String texName, final CommandType commandType, final boolean allowingOptionalArgument, final int argumentCount, final EnumSet<LaTeXMode> allowedModes, final LaTeXMode[] argumentModes, final EnumMap<InterpretationType, Interpretation> interpretations, final CommandHandler domBuilderHandler, final TextFlowContext textFlowContext, final CombinerTargetMatcher combinerTargetMatcher)
|
| Modifier and Type | Method and Description |
|---|---|
| public LaTeXMode | getArgumentMode(int argumentIndex)
Implements uk. Returns the LaTeX mode that each argument should be parsed in, starting with the optional argument (if used) and then each mandatory argument in order. |
| public CombinerTargetMatcher | |
| public MathCharacter | |
| public int | |
| public CommandType |
| argumentModes | back to summary |
|---|---|
| private final LaTeXMode[] argumentModes Mode to use when parsing arguments. If not supplied, will preserve mode that Macro is being used in. (Main example: \mbox{...} will go into LR mode for its arguments) | |
| combinerTargetMatcher | back to summary |
|---|---|
| private final CombinerTargetMatcher combinerTargetMatcher | |
| type | back to summary |
|---|---|
| private final CommandType type | |
| BuiltinCommand | back to summary |
|---|---|
| public BuiltinCommand(final String texName, final CommandType commandType, final boolean allowingOptionalArgument, final int argumentCount, final EnumSet<LaTeXMode> allowedModes, final LaTeXMode[] argumentModes, final EnumMap<InterpretationType, Interpretation> interpretations, final CommandHandler domBuilderHandler, final TextFlowContext textFlowContext, final CombinerTargetMatcher combinerTargetMatcher) | |
| getArgumentMode | back to summary |
|---|---|
| public LaTeXMode getArgumentMode(int argumentIndex) Implements uk. Doc from uk. Returns the LaTeX mode that each argument should be parsed in, starting with the optional argument (if used) and then each mandatory argument in order. Null entries indicate that the current LaTeX mode should be used. | |
| getCombinerTargetMatcher | back to summary |
|---|---|
| public CombinerTargetMatcher getCombinerTargetMatcher() | |
| getMathCharacter | back to summary |
|---|---|
| public MathCharacter getMathCharacter() | |
| getMathCharacterCodePoint | back to summary |
|---|---|
| public int getMathCharacterCodePoint() | |
| getType | back to summary |
|---|---|
| public CommandType getType() | |