Uses of Class
com.google.javascript.rhino.JSTypeExpression
-
Packages that use JSTypeExpression Package Description com.google.javascript.jscomp com.google.javascript.rhino com.google.javascript.rhino.jstype -
-
Uses of JSTypeExpression in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return JSTypeExpression Modifier and Type Method Description static @Nullable JSTypeExpressionNodeUtil. getDeclaredTypeExpression(Node declaration)Return declared JSDoc type for the given name declaration, or null if none present. -
Uses of JSTypeExpression in com.google.javascript.rhino
Methods in com.google.javascript.rhino that return JSTypeExpression Modifier and Type Method Description JSTypeExpressionJSTypeExpression. copy()JSTypeExpressionJSDocInfo. getBaseType()Gets the base type specified by the@extendsannotation.JSTypeExpressionJSDocInfo. getEnumParameterType()Gets the enum parameter type specified by the@enumannotation.JSTypeExpressionJSDocInfo. getLendsName()Gets the name we're lending to in a@lendsannotation.@Nullable JSTypeExpressionJSDocInfo. getParameterType(java.lang.String parameter)Gets the type of a given named parameter.JSTypeExpressionJSDocInfo. getReturnType()Gets the return type specified by the@returnannotation.JSTypeExpressionJSDocInfo. getThisType()Gets the type specified by the@thisannotation.JSTypeExpressionJSDocInfo. getType()Gets the type specified by the@typeannotation.JSTypeExpressionJSDocInfo. getTypedefType()Gets the typedef type specified by the@typeannotation.static JSTypeExpressionJSTypeExpression. makeOptionalArg(JSTypeExpression expr)Make the given type expression into an optional type expression, if possible.JSTypeExpressionJSTypeExpression. replaceNamesWithUnknownType(java.util.Set<java.lang.String> names)Replaces given names in this type expression with unknownMethods in com.google.javascript.rhino that return types with arguments of type JSTypeExpression Modifier and Type Method Description java.util.List<JSTypeExpression>JSDocInfo. getExtendedInterfaces()Returns the interfaces extended by an interfacejava.util.List<JSTypeExpression>JSDocInfo. getImplementedInterfaces()Returns the types specified by the@implementsannotation.com.google.common.collect.ImmutableMap<java.lang.String,JSTypeExpression>JSDocInfo. getTemplateTypes()java.util.Collection<JSTypeExpression>JSDocInfo. getTypeExpressions()Returns a collection of all JSTypeExpressions that are a part of this JSDocInfo.Methods in com.google.javascript.rhino with parameters of type JSTypeExpression Modifier and Type Method Description booleanJSDocInfo.Builder. changeBaseType(JSTypeExpression type)Changes a base type, even if one has already been set on currentInfo.static JSDocInfo.BuilderJSDocInfo.Builder. copyFromWithNewType(JSDocInfo info, JSTypeExpression typeExpression)booleanJSTypeExpression. isEquivalentTo(@Nullable JSTypeExpression other)Does this object represent a type expression that is equivalent to the other one?static JSTypeExpressionJSTypeExpression. makeOptionalArg(JSTypeExpression expr)Make the given type expression into an optional type expression, if possible.static JSDocInfo.BuilderJSDocInfo.Builder. maybeCopyFromWithNewType(JSDocInfo info, JSTypeExpression typeExpression)Returns a JSDocInfo.Builder that contains a copy of the given JSDocInfo in which only the@typefield of the JSDocInfo is replaced with the given typeExpression.booleanJSDocInfo.Builder. recordBaseType(JSTypeExpression type)Records a base type.booleanJSDocInfo.Builder. recordDefineType(JSTypeExpression type)Records the type of a define.booleanJSDocInfo.Builder. recordEnumParameterType(JSTypeExpression type)Records a parameter type to an enum.booleanJSDocInfo.Builder. recordExtendedInterface(JSTypeExpression interfaceType)Records an extended interface type.booleanJSDocInfo.Builder. recordImplementedInterface(JSTypeExpression interfaceType)Records an implemented interface.booleanJSDocInfo.Builder. recordLends(JSTypeExpression name)Records that we're lending to another name.booleanJSDocInfo.Builder. recordParameter(java.lang.String parameterName, JSTypeExpression type)Records a typed parameter.booleanJSDocInfo.Builder. recordReturnType(JSTypeExpression type)Records a return type.booleanJSDocInfo.Builder. recordTemplateTypeName(java.lang.String name, @Nullable JSTypeExpression bound)booleanJSDocInfo.Builder. recordThisType(JSTypeExpression type)Records a type for@thisannotation.booleanJSDocInfo.Builder. recordType(JSTypeExpression type)Records a type.booleanJSDocInfo.Builder. recordTypedef(JSTypeExpression type)Records that theJSDocInfobeing built should be populated with atypedef'd type. -
Uses of JSTypeExpression in com.google.javascript.rhino.jstype
Methods in com.google.javascript.rhino.jstype with parameters of type JSTypeExpression Modifier and Type Method Description JSTypeJSTypeRegistry. evaluateTypeExpression(JSTypeExpression expr, StaticTypedScope scope)JSTypeJSTypeRegistry. evaluateTypeExpressionInGlobalScope(JSTypeExpression expr)
-