| Package | Description |
|---|---|
| com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
| com.google.javascript.refactoring |
| Modifier and Type | Method and Description |
|---|---|
static TypeMatchingStrategy |
TypeMatchingStrategy.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeMatchingStrategy[] |
TypeMatchingStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
TemplateAstMatcher(JSTypeRegistry typeRegistry,
Node templateFunctionNode,
TypeMatchingStrategy typeMatchingStrategy)
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RefasterJsScanner.setTypeMatchingStrategy(TypeMatchingStrategy typeMatchingStrategy)
Sets the type matching strategy to use when matching templates.
|
| Constructor and Description |
|---|
JsSourceMatcher(JSTypeRegistry typeRegistry,
Node templateNode,
TypeMatchingStrategy typeMatchingStrategy)
Constructs this matcher with a Function node that serves as the template
to match all other nodes against.
|
Copyright © 2009-2020 Google. All Rights Reserved.