Class BinaryLiteral


public class BinaryLiteral extends Literal
  • Constructor Details

  • Method Details

    • toHexString

      public String toHexString()
      Return the valued as a hex-formatted string with upper-case characters
    • getValue

      public byte[] getValue()
    • accept

      public <R, C> R accept(AstVisitor<R,C> visitor, C context)
      Description copied from class: Expression
      Accessible for AstVisitor, use AstVisitor.process(Node, Object) instead.
      Overrides:
      accept in class Literal
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class Node
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class Node
    • shallowEquals

      public boolean shallowEquals(Node other)
      Description copied from class: Node
      Compare with another node by considering internal state excluding any Node returned by getChildren()
      Overrides:
      shallowEquals in class Node