Uses of Class
com.igormaznitsa.prologparser.terms.PrologTerm
-
Packages that use PrologTerm Package Description com.igormaznitsa.prologparser com.igormaznitsa.prologparser.terms com.igormaznitsa.prologparser.tokenizer -
-
Uses of PrologTerm in com.igormaznitsa.prologparser
Fields in com.igormaznitsa.prologparser declared as PrologTerm Modifier and Type Field Description static PrologTerm[]PrologParser. EMPTY_TERM_ARRAYprivate PrologTermAstItem. savedTermMethods in com.igormaznitsa.prologparser that return PrologTerm Modifier and Type Method Description (package private) PrologTermAstItem. convertToTermAndRelease(PrologParser parser)PrologTermPrologParser. next()private PrologTermPrologParser. readBlock(Koi7CharOpMap endOperators)private PrologTermPrologParser. readList(TokenizerResult openingBracket)Methods in com.igormaznitsa.prologparser that return types with arguments of type PrologTerm Modifier and Type Method Description java.util.Iterator<PrologTerm>PrologParser. iterator()java.util.stream.Stream<PrologTerm>PrologParser. stream()Methods in com.igormaznitsa.prologparser with parameters of type PrologTerm Modifier and Type Method Description private booleanPrologParser. isEndOperator(PrologTerm operator, Koi7CharOpMap endOperators)private PrologStructPrologParser. readStruct(PrologTerm functor)Constructors in com.igormaznitsa.prologparser with parameters of type PrologTerm Constructor Description AstItem(PrologTerm term, int line, int pos) -
Uses of PrologTerm in com.igormaznitsa.prologparser.terms
Subclasses of PrologTerm in com.igormaznitsa.prologparser.terms Modifier and Type Class Description classInternalSpecialCompoundTermBase class for special service terms for use on level of parser.classOpContainerContainer of operators which have same name but differently associative.classPrologAtomProlog atom.classPrologCompoundAbstract class for all compound prolog terms.classPrologFloatRepresentation for float numeric term.classPrologIntRepresentation of integer numeric term.classPrologListRepresentation of prolog list term.classPrologNumericBase class for all numeric terms.classPrologStructRepresentation of prolog structure.classPrologVarRepresentation of prolog variable.Fields in com.igormaznitsa.prologparser.terms declared as PrologTerm Modifier and Type Field Description protected PrologTerm[]PrologStruct. elementsprotected PrologTermPrologStruct. functorstatic PrologTermPrologList. LIST_FUNCTORMethods in com.igormaznitsa.prologparser.terms that return PrologTerm Modifier and Type Method Description private static PrologTermPrologStruct. assertFunctor(PrologTerm functor)PrologTermPrologStruct. getFunctor()PrologTermPrologTerm. getFunctor()Get the functor, make sense of structure and its successors, for primitive returns the same term.PrologTermPrologList. getHead()Get the current head element of the list.PrologTermPrologList. getTail()Get the current tail elementPrologTermInternalSpecialCompoundTerm. getTermAt(int position)PrologTermOpContainer. getTermAt(int position)abstract PrologTermPrologCompound. getTermAt(int position)Get element for its positionPrologTermPrologList. getTermAt(int index)PrologTermPrologStruct. getTermAt(int index)Methods in com.igormaznitsa.prologparser.terms that return types with arguments of type PrologTerm Modifier and Type Method Description java.util.List<PrologTerm>PrologStruct. flatComma(java.util.List<PrologTerm> list)java.util.List<PrologTerm>PrologTerm. flatComma(java.util.List<PrologTerm> list)Flat content of the term for comma, make sense for structures.java.util.Iterator<PrologTerm>PrologList. iterator()java.util.Iterator<PrologTerm>PrologStruct. iterator()java.util.stream.Stream<PrologTerm>InternalSpecialCompoundTerm. stream()java.util.stream.Stream<PrologTerm>PrologList. stream()java.util.stream.Stream<PrologTerm>PrologStruct. stream()java.util.stream.Stream<PrologTerm>PrologTerm. stream()Methods in com.igormaznitsa.prologparser.terms with parameters of type PrologTerm Modifier and Type Method Description PrologListPrologList. addAsNewListToEndOfListChain(PrologTerm term)Add term as new list into the end of the list chain.private static PrologTermPrologStruct. assertFunctor(PrologTerm functor)intInternalSpecialCompoundTerm. compareTo(PrologTerm that)intPrologTerm. compareTo(PrologTerm that)PrologStructPrologStruct. copyWithAnotherFunctor(PrologTerm newFunctor)Make copy of the structure with replacement of functor.voidPrologList. replaceEndListElement(PrologTerm newTailElement)Replace last tail element in list chain.voidPrologList. setElementAt(int index, PrologTerm term)voidPrologStruct. setElementAt(int index, PrologTerm term)Set element for its position.voidPrologList. setHead(PrologTerm term)Replace the head element.voidPrologList. setTail(PrologTerm term)Set the current tail elementstatic PrologListPrologList. setTermAsNewListTail(PrologList list, PrologTerm term)Method parameters in com.igormaznitsa.prologparser.terms with type arguments of type PrologTerm Modifier and Type Method Description java.util.List<PrologTerm>PrologStruct. flatComma(java.util.List<PrologTerm> list)java.util.List<PrologTerm>PrologTerm. flatComma(java.util.List<PrologTerm> list)Flat content of the term for comma, make sense for structures.Constructors in com.igormaznitsa.prologparser.terms with parameters of type PrologTerm Constructor Description PrologAtom(PrologTerm term)PrologList(PrologTerm head)PrologList(PrologTerm[] array)PrologList(PrologTerm[] array, int line, int pos)PrologList(PrologTerm head, int line, int pos)PrologList(PrologTerm head, PrologTerm tail)PrologList(PrologTerm head, PrologTerm tail, int line, int pos)PrologStruct(PrologTerm functor)PrologStruct(PrologTerm functor, int arity)PrologStruct(PrologTerm functor, int line, int pos)PrologStruct(PrologTerm functor, int arity, int line, int pos)PrologStruct(PrologTerm functor, PrologTerm[] elements)PrologStruct(PrologTerm functor, PrologTerm[] elements, int line, int pos) -
Uses of PrologTerm in com.igormaznitsa.prologparser.tokenizer
Subclasses of PrologTerm in com.igormaznitsa.prologparser.tokenizer Modifier and Type Class Description classOpProlog operator definition.classTermWrapperInternal term wrapper to build AST.Fields in com.igormaznitsa.prologparser.tokenizer declared as PrologTerm Modifier and Type Field Description private PrologTermTokenizerResult. resultTermprivate PrologTermTermWrapper. wrappedTermMethods in com.igormaznitsa.prologparser.tokenizer that return PrologTerm Modifier and Type Method Description PrologTermTokenizerResult. getResult()PrologTermTermWrapper. getWrappedTerm()PrologTermTokenizer. makeTermFromString(java.lang.String str, int radix, Quotation quotingType, TokenizerState state)Constructors in com.igormaznitsa.prologparser.tokenizer with parameters of type PrologTerm Constructor Description TermWrapper(PrologTerm term)TokenizerResult(PrologTerm term, TokenizerState parserState, int line, int pos)
-