org.eclipse.palamedes.kif.core.ast
Class KIFImplication

java.lang.Object
  extended by org.eclipse.palamedes.kif.core.ast.ASTNode
      extended by org.eclipse.palamedes.kif.core.ast.KIFSent
          extended by org.eclipse.palamedes.kif.core.ast.KIFLogSent
              extended by org.eclipse.palamedes.kif.core.ast.KIFImplication
Direct Known Subclasses:
Rule

public class KIFImplication
extends KIFLogSent


Field Summary
 
Fields inherited from class org.eclipse.palamedes.kif.core.ast.ASTNode
COMMENT, CONJUNCTION, DISJUNCTION, FORM, FUNTERM, HORNSENT, IMPLICATION, INDVAR, LOGCONST, NEGATION, OBJCONST, OPERATOR, RELSENT, SEQUENCE
 
Constructor Summary
protected KIFImplication(AST ast)
           
 
Method Summary
protected  void copyMembers(KIFImplication node)
           
 KIFSent getConsequence()
           
 java.lang.String getName()
           
 int getOperandCount()
           
 KIFSeq<KIFSent> getOperands()
           
 KIFSeq<KIFSent> getPremise()
           
 void setConsequence(KIFSent consequence)
           
 java.lang.String toString()
           
 void traverse(ASTVisitor visitor)
           
 
Methods inherited from class org.eclipse.palamedes.kif.core.ast.KIFSent
getLeadingComment, setLeadingComment
 
Methods inherited from class org.eclipse.palamedes.kif.core.ast.ASTNode
clone, copyMembers, equals, getAST, getInfixNotation, getNodeType, getPrefixNotation, getSourceLength, getSourceStart, hashCode, setSourceLength, setSourceStart
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KIFImplication

protected KIFImplication(AST ast)
Method Detail

getConsequence

public KIFSent getConsequence()

setConsequence

public void setConsequence(KIFSent consequence)

getName

public java.lang.String getName()
Specified by:
getName in class KIFSent

getPremise

public final KIFSeq<KIFSent> getPremise()

traverse

public void traverse(ASTVisitor visitor)
Specified by:
traverse in class ASTNode

toString

public java.lang.String toString()
Overrides:
toString in class ASTNode

getOperandCount

public int getOperandCount()
Specified by:
getOperandCount in class KIFSent

getOperands

public KIFSeq<KIFSent> getOperands()
Specified by:
getOperands in class KIFSent

copyMembers

protected final void copyMembers(KIFImplication node)