http://www.jpicedt.org

jpicedt.format.input.latex
Class LaTeXParser

java.lang.Object
  extended by jpicedt.format.input.util.AbstractRegularExpression
      extended by jpicedt.format.input.util.AlternateExpression
          extended by jpicedt.format.input.util.RootExpression
              extended by jpicedt.format.input.latex.LaTeXParser

public class LaTeXParser
extends RootExpression

Grammar rules for the LaTeX's picture environment parser


Field Summary
static Pool.Key<PicAttributeSet> KEY_ATTRIBUTES
          key associated with the shared attribute set (PicAttributeSet)
static Pool.Key<Double> KEY_UNIT_LENGTH
          key associated with unit-length parameter (double)
 
Constructor Summary
LaTeXParser(Pool pool)
          Creates a new LaTeXParser, and build grammar rules
 
Method Summary
 void reinit()
          reinit LaTeX related parameters
 
Methods inherited from class jpicedt.format.input.util.AlternateExpression
add, getExpressionList, interpret, toString
 
Methods inherited from class jpicedt.format.input.util.AbstractRegularExpression
action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_UNIT_LENGTH

public static final Pool.Key<Double> KEY_UNIT_LENGTH
key associated with unit-length parameter (double)


KEY_ATTRIBUTES

public static final Pool.Key<PicAttributeSet> KEY_ATTRIBUTES
key associated with the shared attribute set (PicAttributeSet)

Constructor Detail

LaTeXParser

public LaTeXParser(Pool pool)
Creates a new LaTeXParser, and build grammar rules

Parameters:
pool - a hashmap used to share variables across the grammar tree
Method Detail

reinit

public void reinit()
reinit LaTeX related parameters

Overrides:
reinit in class RootExpression

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org