public final class ImplicitNullabilityCheck extends NodeTraversal.AbstractPostOrderCallback implements CompilerPass
| Modifier and Type | Field and Description |
|---|---|
static DiagnosticType |
IMPLICITLY_NULLABLE_JSDOC |
| Constructor and Description |
|---|
ImplicitNullabilityCheck(AbstractCompiler compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(Node externs,
Node root)
Process the JS with root node root.
|
void |
visit(NodeTraversal t,
Node n,
Node p)
Crawls the JSDoc of the given node to find any names in JSDoc
that are implicitly null.
|
shouldTraversepublic static final DiagnosticType IMPLICITLY_NULLABLE_JSDOC
public ImplicitNullabilityCheck(AbstractCompiler compiler)
public void process(Node externs, Node root)
CompilerPassprocess in interface CompilerPassexterns - Top of external JS treeroot - Top of JS treepublic void visit(NodeTraversal t, Node n, Node p)
visit in interface NodeTraversal.CallbackCopyright © 2009-2019 Google. All Rights Reserved.