public static final class JsdocToEs6TypedConverter.TypeDeclarationsIRFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Function<Node,Node.TypeDeclarationNode> |
CONVERT_TYPE_NODE |
Constructor and Description |
---|
TypeDeclarationsIRFactory() |
Modifier and Type | Method and Description |
---|---|
static Node.TypeDeclarationNode |
convert(JSTypeExpression typeExpr) |
static Node.TypeDeclarationNode |
convertTypeNodeAST(Node n)
The root of a JSTypeExpression is very different from an AST node, even
though we use the same Java class to represent them.
|
private static final com.google.common.base.Function<Node,Node.TypeDeclarationNode> CONVERT_TYPE_NODE
@Nullable public static Node.TypeDeclarationNode convert(@Nullable JSTypeExpression typeExpr)
@Nullable public static Node.TypeDeclarationNode convertTypeNodeAST(Node n)