Top Interfaces Classes
module snuggletex.core

Package uk.ac.ed.ph.snuggletex.internal


Interface Summary

Modifier and TypeInterface and Description
public interface
SessionContext

Provides access to session-related Objects used during the various parts of the snuggle process.

Class Summary

Modifier and TypeClass and Description
public class
DOMBuilder

This takes a List of (fixed) Tokens and builds a (raw) XHTML + MathML DOM tree branch from them.

public class
DOMBuildingController

This is the main entry point into the DOM generation process.

public class
FrozenSlice

Represents a finished "segment" of text in the WorkingDocument.

public class
LaTeXTokeniser

This class reads in SnuggleTeX input and builds a tree of literal parsed Tokens.

public class
SnuggleInputReader

Helper class that does the job of taking a SnuggleInput, checking its contents for allowed Unicode characters, working out how to map absolute offsets into (line,column) pairs and producing a WorkingDocument for later use.

public class
SnuggleParseException

Internal Exception thrown by SnuggleSession#registerError(InputError) when a parsing error occurs and the client has requested immediate failure in such circumstances.

public class
StyleEvaluator

This calculates the ComputedStyle for each raw parsed Token.

public class
StyleRebuilder

This runs after TokenFixer and groups style changes together using the pseudo-environment CorePackageDefinitions#ENV_STYLE, which makes DOM building much easier.

public class
TokenFixer

This takes the parse tree after StyleEvaluator has run and performs grouping operations on the FlowTokens to convert them to a more tree-like structure that is easier to handle.

public class
VariableManager

Manages the values of user-defined variables.

public class
WebPageBuilder

Builds a web page from a List of fixed FlowTokens, using the supplied WebPageOutputOptions to determine the exact form of the results.

public class
WorkingDocument

Represents the "working view" of the current SnuggleInput document.