Package | Description |
---|---|
com.google.javascript.refactoring | |
com.google.javascript.refactoring.examples |
Modifier and Type | Method and Description |
---|---|
NodeMetadata |
Match.getMetadata()
Returns the metadata for this match.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RefactoringUtils.isInClosurizedFile(Node node,
NodeMetadata metadata)
Looks for a goog.require(), goog.provide() or goog.module() call in the node's file.
|
boolean |
JsSourceMatcher.matches(Node n,
NodeMetadata metadata) |
boolean |
RefasterJsScanner.matches(Node node,
NodeMetadata metadata) |
boolean |
Matcher.matches(Node n,
NodeMetadata metadata)
Returns true if the specified
Node and NodeMetadata match
the given pattern. |
abstract boolean |
Scanner.matches(Node node,
NodeMetadata t)
Returns true if the given node and node traversal should match for this
particular scanner.
|
Constructor and Description |
---|
Match(Node node,
NodeMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
GoogBindToArrow.matches(Node node,
NodeMetadata metadata) |
Copyright © 2009-2018 Google. All Rights Reserved.