Class StringLiteral


public class StringLiteral extends Literal
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
    • length

      public int length()
    • 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