Package | Description |
---|---|
com.google.javascript.rhino |
The core AST from Rhino.
|
Modifier and Type | Method and Description |
---|---|
static JSDocInfoBuilder |
JSDocInfoBuilder.copyFrom(JSDocInfo info) |
static JSDocInfoBuilder |
JSDocInfoBuilder.copyFromWithNewType(JSDocInfo info,
JSTypeExpression typeExpression) |
static JSDocInfoBuilder |
JSDocInfoBuilder.maybeCopyFrom(JSDocInfo info) |
static JSDocInfoBuilder |
JSDocInfoBuilder.maybeCopyFromAndReplaceNames(JSDocInfo info,
java.util.Set<java.lang.String> moduleLocalNamesToReplace)
Returns a JSDocInfoBuilder that contains a JSDoc in which all module local types (which may be
inside
@param , @type or @returns are replaced with unknown. |
static JSDocInfoBuilder |
JSDocInfoBuilder.maybeCopyFromWithNewType(JSDocInfo info,
JSTypeExpression typeExpression)
Returns a JSDocInfoBuilder that contains a copy of the given JSDocInfo in which only the
@type field of the JSDocInfo is replaced with the given typeExpression. |
Copyright © 2009-2020 Google. All Rights Reserved.