public static class ClosureCodingConvention.AssertInstanceofSpec extends CodingConvention.AssertionFunctionSpec
assertedType, functionName| Constructor and Description |
|---|
ClosureCodingConvention.AssertInstanceofSpec(String functionName) |
| Modifier and Type | Method and Description |
|---|---|
JSType |
getAssertedType(Node call,
JSTypeRegistry registry)
Returns the type for a type assertion, or null if the function asserts
that the node must not be null or undefined.
|
getAssertedParam, getFunctionNamepublic ClosureCodingConvention.AssertInstanceofSpec(String functionName)
public JSType getAssertedType(Node call, JSTypeRegistry registry)
getAssertedType in class CodingConvention.AssertionFunctionSpeccall - The asserting callCopyright © 2009-2014 Google. All Rights Reserved.