Class PrologVar

    • Constructor Detail

      • PrologVar

        public PrologVar()
        Constructor of anonymous variable.
      • PrologVar

        public PrologVar​(int line,
                         int pos)
      • PrologVar

        public PrologVar​(String text)
      • PrologVar

        public PrologVar​(String text,
                         int line,
                         int pos)
    • Method Detail

      • isAnonymous

        public boolean isAnonymous()
        Check that the variable anonymous one.
        Returns:
        true if the variable is anonymous one, false otherwise
      • getType

        public TermType getType()
        Description copied from class: PrologTerm
        Get term type.
        Specified by:
        getType in class PrologTerm
        Returns:
        term type, must not be null