Class Match
- java.lang.Object
-
- com.google.javascript.refactoring.Match
-
public final class Match extends java.lang.ObjectObject that contains the information for a given match.
-
-
Constructor Summary
Constructors Constructor Description Match(Node node, NodeMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeMetadatagetMetadata()Returns the metadata for this match.NodegetNode()Returns the node that matched the given conditions.
-
-
-
Constructor Detail
-
Match
public Match(Node node, NodeMetadata metadata)
-
-
Method Detail
-
getNode
public Node getNode()
Returns the node that matched the given conditions.
-
getMetadata
public NodeMetadata getMetadata()
Returns the metadata for this match.
-
-