Class Java.Literal

    • Field Detail

      • value

        public final java.lang.String value
        The text of the literal token, as in the source code.

        For true, false and null, this string value is guaranteed to be interned, so it can safely be reference-compared with other interned strings.

    • Constructor Detail

      • Literal

        public Literal​(Location location,
                       java.lang.String value)
        Parameters:
        value - The text of the literal token, as in the source code
    • Method Detail

      • toString

        public java.lang.String toString()
        Specified by:
        toString in class Java.Atom