|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.czt.print.z.PrintUtils
public final class PrintUtils
Utilities for printing Z specifications given as an AST.
| Field Summary | |
|---|---|
static WarningManager |
warningManager_
|
| Method Summary | |
|---|---|
static void |
print(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
net.sourceforge.czt.session.Markup markup)
Prints a given term (usually a Spec or Sect) in the specified markup to the given writer. |
static void |
print(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectName,
net.sourceforge.czt.session.Markup markup)
|
static void |
printLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
Prints a given term (usually a Spec or Sect) as latex markup to the given writer. |
static void |
printLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
Prints a given term (usually an Expr or Pred) as latex markup to the given writer. |
static void |
printOldLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
|
static void |
printOldLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
|
static void |
printUnicode(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
Prints a given term (usually a Spec or Sect) as unicode to the given writer. |
static void |
printUnicode(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
Prints a given term (usually an Expr or Pred) as unicode to the given writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final WarningManager warningManager_
| Method Detail |
|---|
public static void print(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
net.sourceforge.czt.session.Markup markup)
net.sourceforge.czt.parser.util.OpTable.class
and
net.sourceforge.czt.parser.util.LatexMarkupTable.class.
This method may be used for terms like Spec and Sect that contain
a section header so that context information can be obtained from
the tree itself. See print(Term,Writer,SectionManager,String,Markup) for
writing trees that do not contain context information.
public static void print(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectName,
net.sourceforge.czt.session.Markup markup)
public static void printLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
net.sourceforge.czt.parser.util.OpTable.class and
net.sourceforge.czt.parser.util.LatexMarkupTable.class.
This method may be used for terms like Spec and Sect that contain
a section header so that context information can be obtained from
the tree itself. See printLatex(Term,Writer,SectionManager,String) for
writing trees that do not contain context information.
public static void printOldLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
public static void printLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
net.sourceforge.czt.parser.util.OpTable.class
and
net.sourceforge.czt.parser.util.LatexMarkupTable.class.
This method may be used for terms like Expr and Pred that do not
contain a section header so that context information cannot be
obtained from the tree itself. See
printLatex(Term,Writer,SectionManager) for writing trees that do
contain context information.
public static void printOldLatex(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
public static void printUnicode(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo)
net.sourceforge.czt.parser.util.OpTable.class.
This method may be used for terms like Spec and Sect that contain
a section header so that context information can be obtained from
the tree itself. See
printUnicode(Term,Writer,SectionManager,String) for writing trees
that do not contain context information.
public static void printUnicode(net.sourceforge.czt.base.ast.Term term,
java.io.Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
java.lang.String sectionName)
net.sourceforge.czt.parser.util.OpTable.class.
This method may be used for terms like Expr and Pred that do not
contain a section header so that context information cannot be
obtained from the tree itself. See
printUnicode(Term,Writer,SectionManager) for writing trees that do
contain context information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||