public static class SimpleTptpParserOutput.AnnotatedClause extends SimpleTptpParserOutput.TopLevelItem
TptpParserOutput.TptpInput.Kind_kind, _lineNumber| Constructor and Description |
|---|
AnnotatedClause(String name,
TptpParserOutput.FormulaRole role,
TptpParserOutput.CnfFormula clause,
TptpParserOutput.Annotations annotations,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
SimpleTptpParserOutput.Annotations |
getAnnotations() |
SimpleTptpParserOutput.Clause |
getClause() |
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 AnnotatedClause(String name, TptpParserOutput.FormulaRole role, TptpParserOutput.CnfFormula clause, 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.Clause getClause()
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.