public interface DeclaredTypeRegistry
Modifier and Type | Method and Description |
---|---|
JSTypes |
getCommonTypes() |
Declaration |
getDeclaration(QualifiedName qname,
boolean includeTypes)
Returns the declaration of the given qualified name,
or null if the name is not defined.
|
DeclaredFunctionType |
getDeclaredFunctionType()
Get the type of the function that the declared type registry represents.
|
JSType |
getDeclaredTypeOf(String name)
Returns the declared JSType of the given identifier,
or null if the identifier is not defined.
|
DeclaredFunctionType getDeclaredFunctionType()
Declaration getDeclaration(QualifiedName qname, boolean includeTypes)
includeTypes
is true, include definitions that are not in code,
such as @template parameters and forward declarations.JSType getDeclaredTypeOf(String name)
JSTypes getCommonTypes()
Copyright © 2009–2023 Google. All rights reserved.