gnu.prolog.term
Class DoubleQuotesTerm
java.lang.Object
gnu.prolog.term.Term
gnu.prolog.term.VariableTerm
gnu.prolog.term.ChangeableTerm
gnu.prolog.term.DoubleQuotesTerm
- All Implemented Interfaces:
- Serializable, Cloneable
public class DoubleQuotesTerm
- extends ChangeableTerm
Term for storing a double quoted string as what this resolves to varies
depending on the value of the double_quotes flag.
- Author:
- Daniel Thomas
- See Also:
- Serialized Form
Method Summary |
Term |
dereference()
The value may also be altered by this method in child classes. |
DoubleQuotesTerm
public DoubleQuotesTerm(Environment environment,
Term codes,
Term chars,
AtomTerm atom)
- Construct a DoubleQuotesTerm
- Parameters:
environment
- the environment to be used to get the prolog flags fromcodes
- the char codes representation e.g. [232,134] or []chars
- the chars representation e.g. [a,b] or []atom
- the atom representation e.g. ab or ''
dereference
public Term dereference()
- Description copied from class:
ChangeableTerm
- The value may also be altered by this method in child classes.
- Specified by:
dereference
in class ChangeableTerm
- Returns:
- dereferenced term