public abstract class PrologWriter extends JpcTermWriter implements PrologContentHandler
Constructor and Description |
---|
PrologWriter() |
Modifier and Type | Method and Description |
---|---|
TermContentHandler |
endLogtalkObjectContext() |
TermContentHandler |
followingDirectives() |
TermContentHandler |
followingDynamicClauses() |
Term |
getCurrentLogtalkObjectTerm() |
TermContentHandler |
startLogtalkObjectContext()
The next term to come represents the Logtalk context object.
|
protected void |
write(Term term) |
void |
writeClause(Term clause) |
void |
writeDirective(Term directive) |
abstract void |
writeLogtalkObjectClause(Term clause) |
abstract void |
writeLogtalkObjectDirective(Term directive) |
abstract void |
writePrologClause(Term clause) |
abstract void |
writePrologDirective(Term directive) |
createCompoundBuilder, startAtom, startFloatTerm, startIntegerTerm, startJRef, startVariable
addLast, endCompound, getFirst, getTerms, process, startCompound
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endCompound, startAtom, startCompound, startFloatTerm, startIntegerTerm, startJRef, startVariable
public Term getCurrentLogtalkObjectTerm()
protected void write(Term term)
write
in class TermWriter<Term>
public TermContentHandler followingDirectives()
followingDirectives
in interface PrologContentHandler
public TermContentHandler followingDynamicClauses()
followingDynamicClauses
in interface PrologContentHandler
public TermContentHandler startLogtalkObjectContext()
PrologContentHandler
startLogtalkObjectContext
in interface PrologContentHandler
public TermContentHandler endLogtalkObjectContext()
endLogtalkObjectContext
in interface PrologContentHandler
public void writeDirective(Term directive)
public abstract void writePrologDirective(Term directive)
public abstract void writeLogtalkObjectDirective(Term directive)
public void writeClause(Term clause)
public abstract void writePrologClause(Term clause)
public abstract void writeLogtalkObjectClause(Term clause)
Copyright © 2014. All rights reserved.