public final class StyleEvaluator
extends java.lang.Object
ComputedStyle for each raw parsed Token. It is
used directly after LaTeXTokeniser but before the TokenFixer.
Once this has run, all Commands and Environments with a
StyleDeclarationInterpretation will have been removed from the parse tree. This
corresponds to commands such as \bf, \textrm{...} and environments like \begin{em}...\end{em}.
Each Token remaining in the tree will have its
Token.setComputedStyle(ComputedStyle) called
to indicate the resulting "style" it will have.
| 构造器和说明 |
|---|
StyleEvaluator(SessionContext sessionContext) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
evaluateStyles(RootToken rootToken) |
public StyleEvaluator(SessionContext sessionContext)
public void evaluateStyles(RootToken rootToken) throws SnuggleParseException