SnuggleSession should parse and process
SnuggleInputs.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| private int | expansionLimit
Maximum depth when expanding out user-defined commands and environments. |
| private boolean | failingFast
Set to true to fail immediately on error. |
| private NumberMatcher | numberMatcher
Matcher used to identify numbers in math mode input. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public int | getExpansionLimit()
Gets the maximum depth when expanding out user-defined commands and environments. |
| public NumberMatcher | |
| public boolean | Returns: true to fail immediately, false to keep goingReturns whether or not the |
| public void | setExpansionLimit(int expansionLimit)
Sets the maximum depth when expanding out user-defined commands and environments. |
| public void | setFailingFast(boolean
true to fail immediately, false to keep going failingFast)Sets whether or not the |
| public void | setNumberMatcher(NumberMatcher numberMatcher)
Sets the |
| public String |
| DEFAULT_EXPANSION_LIMIT | back to summary |
|---|---|
| public static final int DEFAULT_EXPANSION_LIMIT | |
| expansionLimit | back to summary |
|---|---|
| private int expansionLimit Maximum depth when expanding out user-defined commands and environments. This prevents possible infinite recursion issues, which are hard to detect due to the highly dynamic nature of LaTeX input.
The default value is Evaluating a user-defined command body, or the begin/end clause of an environment increases the current depth by 1. | |
| failingFast | back to summary |
|---|---|
| private boolean failingFast Set to true to fail immediately on error. Default is to record error but keep going | |
| numberMatcher | back to summary |
|---|---|
| private NumberMatcher numberMatcher Matcher used to identify numbers in math mode input. | |
| SessionConfiguration | back to summary |
|---|---|
| public SessionConfiguration() | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getExpansionLimit | back to summary |
|---|---|
| public int getExpansionLimit() Gets the maximum depth when expanding out user-defined commands and environments. This prevents possible infinite recursion issues, which are hard to detect due to the highly dynamic nature of LaTeX input.
The default value is Evaluating a user-defined command body, or the begin/end clause of an environment increases the current depth by 1. | |
| getNumberMatcher | back to summary |
|---|---|
| public NumberMatcher getNumberMatcher() Gets the
| |
| isFailingFast | back to summary |
|---|---|
| public boolean isFailingFast() Returns whether or not the
| |
| setExpansionLimit | back to summary |
|---|---|
| public void setExpansionLimit(int expansionLimit) Sets the maximum depth when expanding out user-defined commands and environments. This prevents possible infinite recursion issues, which are hard to detect due to the highly dynamic nature of LaTeX input.
The default value is Evaluating a user-defined command body, or the begin/end clause of an environment increases the current depth by 1. | |
| setFailingFast | back to summary |
|---|---|
| public void setFailingFast(boolean failingFast) Sets whether or not the
| |
| setNumberMatcher | back to summary |
|---|---|
| public void setNumberMatcher(NumberMatcher numberMatcher) Sets the
This may be null, which results in a default
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |