Top Description Inners Fields Methods
uk.ac.ed.ph.snuggletex.semantics

public Interface Interpretation

Known Direct Subinterfaces
uk.ac.ed.ph.snuggletex.semantics.MathInterpretation
Known Direct Implementers
uk.ac.ed.ph.snuggletex.semantics.Interpretation.MarkerInterpretation, uk.ac.ed.ph.snuggletex.semantics.StyleDeclarationInterpretation
Imports
uk.ac.ed.ph.snuggletex.tokens.Token

This base interface allows some kind of "semantic interpretation" to be associated with a particular Token. This makes it easy for Tokens of different types share the same kind of interpretation, which is especially useful when parsing maths input.

Developer Notes

Author
David McKain
Version
$Revision:179 $

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final Interpretation
public static final Interpretation
public static final Interpretation

Method Summary

Modifier and TypeMethod and Description
public InterpretationType

Field Detail

LISTback to summary
public static final Interpretation LIST
STYLE_SENTINELback to summary
public static final Interpretation STYLE_SENTINEL
TABULARback to summary
public static final Interpretation TABULAR

Method Detail

getTypeback to summary
public InterpretationType getType()
uk.ac.ed.ph.snuggletex.semantics back to summary

public Class Interpretation.MarkerInterpretation

extends Object
implements Interpretation
Class Inheritance
  • java.lang.Object
  • uk.ac.ed.ph.snuggletex.semantics.Interpretation.MarkerInterpretation
All Implemented Interfaces
uk.ac.ed.ph.snuggletex.semantics.Interpretation

Field Summary

Modifier and TypeField and Description
private final InterpretationType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public InterpretationType
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

typeback to summary
private final InterpretationType type

Constructor Detail

MarkerInterpretationback to summary
public MarkerInterpretation(final InterpretationType type)

Method Detail

getTypeback to summary
public InterpretationType getType()

Implements uk.ac.ed.ph.snuggletex.semantics.Interpretation.getType.