Top Description Fields Constructors Methods
uk.ac.ed.ph.snuggletex.tokens

public final Class RootToken

extends Token
implements Iterable<FlowToken>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Annotations
@ObjectDumperOptions:DEEP
Imports
uk.ac.ed.ph.snuggletex.SnuggleInput, uk.ac.ed.ph.snuggletex.definitions.LaTeXMode, uk.ac.ed.ph.snuggletex.internal.WorkingDocument, uk.ac.ed.ph.snuggletex.internal.util.DumpMode, .ObjectDumperOptions, java.util.Iterator, .List

This token represents the root of a parsed SnuggleInput
Author
David McKain
Version
$Revision$

Field Summary

Modifier and TypeField and Description
private final List<FlowToken>
private final WorkingDocument
Inherited from uk.ac.ed.ph.snuggletex.tokens.Token:
computedStyleinterpretationMaplatexModeslicetype

Constructor Summary

AccessConstructor and Description
public
RootToken(final WorkingDocument workingDocument, final List<FlowToken> contents)

Method Summary

Modifier and TypeMethod and Description
public List<FlowToken>
public WorkingDocument
public Iterator<FlowToken>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Inherited from uk.ac.ed.ph.snuggletex.tokens.Token:
getComputedStylegetInterpretationgetInterpretationMapgetLatexModegetMathCharactergetMathCharacterCodePointgetSlicegetTypehasInterpretationTypeisCommandisEnvironmentsetComputedStyletoString

Field Detail

contentsback to summary
private final List<FlowToken> contents
workingDocumentback to summary
private final WorkingDocument workingDocument

Constructor Detail

RootTokenback to summary
public RootToken(final WorkingDocument workingDocument, final List<FlowToken> contents)

Method Detail

getContentsback to summary
public List<FlowToken> getContents()
Annotations
@ObjectDumperOptions:DEEP
getWorkingDocumentback to summary
public WorkingDocument getWorkingDocument()
iteratorback to summary
public Iterator<FlowToken> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.