Class PrologCompound
java.lang.Object
com.igormaznitsa.prologparser.terms.PrologTerm
com.igormaznitsa.prologparser.terms.PrologCompound
- All Implemented Interfaces:
Serializable,Comparable<PrologTerm>
- Direct Known Subclasses:
InternalSpecialCompoundTerm,PrologStruct
Abstract class for all compound prolog terms.
- See Also:
-
Field Summary
FieldsFields inherited from class com.igormaznitsa.prologparser.terms.PrologTerm
quotation, text -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PrologTermgetTermAt(int position) Get element for its positionMethods inherited from class com.igormaznitsa.prologparser.terms.PrologTerm
assertNonEmptyString, compareTo, findQuotation, flatComma, getArity, getFunctor, getLine, getPos, getPrecedence, getQuotation, getText, getType, isAnyBlock, isBlock, isCurlyBlock, setLine, setPos, stream, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
PrologCompound
-
-
Method Details
-
getTermAt
Get element for its position- Parameters:
position- zero-based element position- Returns:
- element in position
-