public final class PrintUtils extends Object
Modifier and Type | Field and Description |
---|---|
static WarningManager |
warningManager_ |
Modifier and Type | Method and Description |
---|---|
static void |
print(net.sourceforge.czt.base.ast.Term term,
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,
Writer out,
net.sourceforge.czt.session.SectionManager sectInfo,
String sectName,
net.sourceforge.czt.session.Markup markup) |
public static final WarningManager warningManager_
public static void print(net.sourceforge.czt.base.ast.Term term, Writer out, net.sourceforge.czt.session.SectionManager sectInfo, net.sourceforge.czt.session.Markup markup) throws PrintException
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,SectionInfo,String,Markup)
for
writing trees that do not contain context information.term
- out
- sectInfo
- markup
- PrintException
public static void print(net.sourceforge.czt.base.ast.Term term, Writer out, net.sourceforge.czt.session.SectionManager sectInfo, String sectName, net.sourceforge.czt.session.Markup markup) throws PrintException
PrintException
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.