|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.se.visitor.QedeqNotNullTraverser
public class QedeqNotNullTraverser
Traverse QEDEQ module. Calls visitors of QedeqVisitor
for non null
arguments.
Constructor Summary | |
---|---|
QedeqNotNullTraverser(ModuleAddress globalContext)
Constructor. |
|
QedeqNotNullTraverser(ModuleAddress globalContext,
QedeqVisitor visitor)
Constructor. |
Method Summary | |
---|---|
void |
accept(Add reason)
Traverse formal proof line reason. |
void |
accept(Atom atom)
Traverse atom. |
void |
accept(Author author)
Traverse author. |
void |
accept(AuthorList authorList)
Traverse author list. |
void |
accept(Axiom axiom)
Traverse axiom. |
void |
accept(ChangedRule rule)
Traverse changed rule. |
void |
accept(ChangedRuleList list)
Traverse changed rule list. |
void |
accept(Chapter chapter)
Traverse chapter. |
void |
accept(ChapterList chapterList)
Traverse chapter list. |
void |
accept(Conclusion conclusion)
Traverse formal proof line conclusion. |
void |
accept(ConditionalProof reason)
Traverse formal proof line wit conditional proof. |
void |
accept(Element element)
Traverse element. |
void |
accept(ElementList list)
Traverse element list. |
void |
accept(Existential reason)
Traverse formal proof line reason. |
void |
accept(FormalProof proof)
Traverse formal proof. |
void |
accept(FormalProofLine proofLine)
Traverse formal proof line. |
void |
accept(FormalProofLineList proofLineList)
Traverse formal proof list. |
void |
accept(FormalProofList proofList)
Traverse formal proof list. |
void |
accept(Formula formula)
Traverse formula. |
void |
accept(FunctionDefinition definition)
Traverse function definition. |
void |
accept(Header header)
Traverse header. |
void |
accept(Hypothesis hypothesis)
Traverse formal proof line hypothesis. |
void |
accept(Import imp)
Traverse import. |
void |
accept(ImportList importList)
Traverse import list. |
void |
accept(InitialFunctionDefinition definition)
Traverse initial function definition. |
void |
accept(InitialPredicateDefinition definition)
Traverse initial predicate definition. |
void |
accept(Latex latex)
Traverse latex. |
void |
accept(LatexList latexList)
Traverse latex list. |
void |
accept(LinkList linkList)
Traverse link list. |
void |
accept(LiteratureItem item)
Traverse literature item. |
void |
accept(LiteratureItemList literatureItemList)
Traverse literature item list. |
void |
accept(Location location)
Traverse location. |
void |
accept(LocationList locationList)
Traverse location list. |
void |
accept(ModusPonens reason)
Traverse formal proof line reason. |
void |
accept(Node node)
Traverse node. |
void |
accept(PredicateDefinition definition)
Traverse predicate definition. |
void |
accept(Proof proof)
Traverse proof. |
void |
accept(ProofList proofList)
Traverse proof list. |
void |
accept(Proposition proposition)
Traverse proposition. |
void |
accept(Qedeq qedeq)
Start with the top structure of a QEDEQ module. |
void |
accept(Reason reason)
Traverse formal proof line reason. |
void |
accept(Rename reason)
Traverse formal proof line reason. |
void |
accept(Rule rule)
Traverse rule. |
void |
accept(Section section)
Traverse section. |
void |
accept(SectionList sectionList)
Traverse section list. |
void |
accept(Specification specification)
Traverse specification. |
void |
accept(Subsection subsection)
Traverse subsection list. |
void |
accept(SubsectionList subsectionList)
Traverse subsection list. |
void |
accept(SubstFree reason)
Traverse formal proof line reason. |
void |
accept(SubstFunc reason)
Traverse formal proof line reason. |
void |
accept(SubstPred reason)
Traverse formal proof line reason. |
void |
accept(Term term)
Traverse term. |
void |
accept(Universal reason)
Traverse formal proof line reason. |
void |
accept(UsedByList usedByList)
Traverse used by list. |
boolean |
getBlocked()
Is further traversing blocked? |
ModuleContext |
getCurrentContext()
Get current context within original. |
QedeqNumbers |
getCurrentNumbers()
Get copy of current counters. |
RuleKey |
getLocalRuleKey(java.lang.String name)
Get current (QEDEQ module local) rule version for given rule name. |
java.lang.String |
getLocationDescription()
Get readable description of current location. |
Node |
getNode()
Get node that is currently parsed. |
double |
getVisitPercentage()
Get calculated visit percentage. |
void |
setBlocked(boolean blocked)
Set if further traverse is blocked. |
void |
setLocationWithinModule(java.lang.String locationWithinModule)
Set location information where are we within the original module. |
void |
setVisitor(QedeqVisitor visitor)
Set visitor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QedeqNotNullTraverser(ModuleAddress globalContext, QedeqVisitor visitor)
globalContext
- Module location information.visitor
- These methods are called if a node is visited.public QedeqNotNullTraverser(ModuleAddress globalContext)
globalContext
- Module location information.Method Detail |
---|
public void setVisitor(QedeqVisitor visitor)
visitor
- These methods are called if a node is visited.public void accept(Qedeq qedeq) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
qedeq
- Traverse this element. Must not be null
.
ModuleDataException
- Severe error during occurred.public void accept(Header header) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
header
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(UsedByList usedByList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
usedByList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ImportList importList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
importList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Import imp) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
imp
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Specification specification) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
specification
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(LocationList locationList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
locationList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Location location) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
location
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(AuthorList authorList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
authorList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Author author) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
author
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ChapterList chapterList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
chapterList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Chapter chapter) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
chapter
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(LiteratureItemList literatureItemList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
literatureItemList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(LiteratureItem item) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
item
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(SectionList sectionList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
sectionList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Section section) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
section
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(SubsectionList subsectionList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
subsectionList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Subsection subsection) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
subsection
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Node node) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
node
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Axiom axiom) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
axiom
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(PredicateDefinition definition) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
definition
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(InitialPredicateDefinition definition) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
definition
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(InitialFunctionDefinition definition) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
definition
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(FunctionDefinition definition) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
definition
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Proposition proposition) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proposition
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Rule rule) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
rule
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ChangedRuleList list) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
list
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ChangedRule rule) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
rule
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(LinkList linkList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
linkList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ProofList proofList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proofList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Proof proof) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proof
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(FormalProofList proofList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proofList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(FormalProof proof) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proof
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(FormalProofLineList proofLineList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proofLineList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(FormalProofLine proofLine) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
proofLine
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Reason reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ModusPonens reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Add reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Rename reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(SubstFree reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(SubstFunc reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(SubstPred reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Existential reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Universal reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ConditionalProof reason) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
reason
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Hypothesis hypothesis) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
hypothesis
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Conclusion conclusion) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
conclusion
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Formula formula) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
formula
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Term term) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
term
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Element element) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
element
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Atom atom) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
atom
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(ElementList list) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
list
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(LatexList latexList) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
latexList
- Traverse this element.
ModuleDataException
- Severe error during occurred.public void accept(Latex latex) throws ModuleDataException
QedeqTraverser
accept
in interface QedeqTraverser
latex
- Traverse this element.
ModuleDataException
- Severe error during occurred.public Node getNode()
null
.
public void setLocationWithinModule(java.lang.String locationWithinModule)
locationWithinModule
- Location within module.public final ModuleContext getCurrentContext()
QedeqTraverser
getCurrentContext
in interface QedeqTraverser
public final boolean getBlocked()
public final void setBlocked(boolean blocked)
blocked
- Further transversion?public double getVisitPercentage()
getVisitPercentage
in interface ServiceCompleteness
public java.lang.String getLocationDescription()
ServiceCompleteness
getLocationDescription
in interface ServiceCompleteness
public QedeqNumbers getCurrentNumbers()
public RuleKey getLocalRuleKey(java.lang.String name)
name
- Rule name
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |