Class IntegerLiteral

    • Field Detail

      • value

        public final long value
    • Constructor Detail

      • IntegerLiteral

        public IntegerLiteral​(long value)
      • IntegerLiteral

        public IntegerLiteral​(Long value)
      • IntegerLiteral

        public IntegerLiteral​(Integer value)
      • IntegerLiteral

        public IntegerLiteral​(String value)
    • Method Detail

      • accept

        public void accept​(IVisitor visitor)
        Description copied from interface: ASTNode
        Accept the given visitor.
        Parameters:
        visitor - the AST node visitor
      • asString

        public String asString()
        Description copied from class: Literal
        Gets a string representation of the value.
        Specified by:
        asString in class Literal
        Returns:
        a string representation of the value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object