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