an Atom's name is quoted if it is not a simple identifier. @return string representation of an Atom
()
| 170 | * @return string representation of an Atom |
| 171 | */ |
| 172 | public String toString() { |
| 173 | return (JPL.isSimpleName(name) || isListNil() ? name : "'" + name + "'"); |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * returns the type of this term, as "Prolog.ATOM" |