public class NodeOfKind extends Object implements NodePattern
Modifier and Type | Field and Description |
---|---|
protected NodePattern[] |
children |
protected int |
kind |
Constructor and Description |
---|
NodeOfKind(int kind,
NodePattern... children) |
protected int kind
protected NodePattern[] children
public NodeOfKind(int kind, NodePattern... children)
public boolean matches(CAstNode node)
matches
in interface NodePattern