Class NodeOfKind

java.lang.Object
com.ibm.wala.cast.tree.pattern.NodeOfKind
All Implemented Interfaces:
NodePattern
Direct Known Subclasses:
SomeConstant, SubtreeOfKind

public class NodeOfKind extends Object implements NodePattern
A node pattern that matches an AST node of a certain kind; additionally, the node's children have to match the pattern's child patterns.
Author:
mschaefer
  • Field Details

    • kind

      protected int kind
    • children

      protected NodePattern[] children
  • Constructor Details

    • NodeOfKind

      public NodeOfKind(int kind, NodePattern... children)
  • Method Details