Class CAstImpl.CAstNodeImpl

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

protected static class CAstImpl.CAstNodeImpl extends Object implements CAstNode
  • Field Details

    • cs

      protected final List<CAstNode> cs
    • kind

      protected final int kind
  • Constructor Details

    • CAstNodeImpl

      protected CAstNodeImpl(int kind, List<CAstNode> cs)
  • 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
    • getChildren

      public List<CAstNode> getChildren()
      Specified by:
      getChildren in interface CAstNode
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class Object