public static class SimpleTptpParserOutput.AnnotatedFormula extends SimpleTptpParserOutput.TopLevelItem
TptpParserOutput.TptpInput.Kind_kind, _lineNumber| Constructor and Description |
|---|
AnnotatedFormula(String name,
TptpParserOutput.FormulaRole role,
TptpParserOutput.FofFormula formula,
TptpParserOutput.Annotations annotations,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
SimpleTptpParserOutput.Annotations |
getAnnotations() |
SimpleTptpParserOutput.Formula |
getFormula() |
String |
getName() |
TptpParserOutput.FormulaRole |
getRole() |
void |
setAnnotations(SimpleTptpParserOutput.Annotations newAnnotations) |
void |
setName(String newName) |
void |
setRole(TptpParserOutput.FormulaRole newRole) |
String |
toString() |
String |
toString(int indent) |
getKind, getLineNumberpublic AnnotatedFormula(String name, TptpParserOutput.FormulaRole role, TptpParserOutput.FofFormula formula, TptpParserOutput.Annotations annotations, int lineNumber)
public String getName()
public void setName(String newName)
public TptpParserOutput.FormulaRole getRole()
public void setRole(TptpParserOutput.FormulaRole newRole)
public SimpleTptpParserOutput.Formula getFormula()
public SimpleTptpParserOutput.Annotations getAnnotations()
public void setAnnotations(SimpleTptpParserOutput.Annotations newAnnotations)
public String toString()
toString in class SimpleTptpParserOutput.TopLevelItempublic String toString(int indent)
toString in class SimpleTptpParserOutput.TopLevelItemindent - - indicate indentation for pretty-printing. if indent <= 0
then no indentation and not pretty-printing is used.
The current indentation is expected to NOT be already output.
Java calls the most specific subclass method automatically, so
it would seem this entire method is superfluous and can be deleted.Copyright © 2015. All rights reserved.