Class CAstImpl.CAstValueImpl

java.lang.Object
com.ibm.wala.cast.tree.impl.CAstImpl.CAstValueImpl
All Implemented Interfaces:
CAstLeafNode, CAstNode
Direct Known Subclasses:
CAstValueImpl.CAstValueValueImpl
Enclosing class:
CAstImpl

protected static class CAstImpl.CAstValueImpl extends Object implements CAstLeafNode
  • Field Details

    • value

      protected final Object value
  • Constructor Details

    • CAstValueImpl

      protected CAstValueImpl(Object value)
  • Method Details

    • getKind

      public int getKind()
      Description copied from interface: CAstNode
      What kind of node is this? Should return some constant from this file.
      Specified by:
      getKind in interface CAstNode
    • getValue

      public Object getValue()
      Description copied from interface: CAstNode
      Returns the constant value represented by this node, if appropriate, and null otherwise.
      Specified by:
      getValue in interface CAstNode
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object