TokenFixer and groups style changes together using the
pseudo-environment CorePackageDefinitions#ENV_STYLE, which makes DOM building
much easier.
LaTeXTokeniser, StyleEvaluator, TokenFixer, SnuggleSession#parseInput(uk.ac.ed.ph.snuggletex.SnuggleInput)
| Modifier and Type | Field and Description |
|---|---|
| private final SessionContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private EnvironmentToken | |
| private EnvironmentToken | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| sessionContext | back to summary |
|---|---|
private final SessionContext sessionContext
| |
| StyleRebuilder | back to summary |
|---|---|
| public StyleRebuilder(final SessionContext sessionContext) | |
| createStyleEnvironmentToken | back to summary |
|---|---|
| private EnvironmentToken createStyleEnvironmentToken(FlowToken source, List<FlowToken> tokenGroup) | |
| createStyleEnvironmentToken | back to summary |
|---|---|
| private EnvironmentToken createStyleEnvironmentToken(FlowToken source, ArgumentContainerToken contentToken) | |
| rebuildStyles | back to summary |
|---|---|
| public void rebuildStyles(RootToken rootToken) | |
| visitArgumentContainer | back to summary |
|---|---|
| private void visitArgumentContainer(FlowToken owner, ArgumentContainerToken token, ComputedStyle currentStyle) | |
| visitCommand | back to summary |
|---|---|
| private void visitCommand(CommandToken commandToken, ComputedStyle currentStyle) | |
| visitEnvironment | back to summary |
|---|---|
| private void visitEnvironment(EnvironmentToken environmentToken, ComputedStyle currentStyle) | |
| visitSiblings | back to summary |
|---|---|
| private void visitSiblings(List<FlowToken> content, ComputedStyle inScopeStyle) | |
| visitToken | back to summary |
|---|---|
| private void visitToken(FlowToken token, ComputedStyle currentStyle) | |