Uses of Class
com.google.javascript.rhino.JSTypeExpression
Packages that use JSTypeExpression
Package
Description
-
Uses of JSTypeExpression in com.google.javascript.jscomp
Methods in com.google.javascript.jscomp that return JSTypeExpressionModifier and TypeMethodDescriptionstatic @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 JSTypeExpressionModifier and TypeMethodDescriptionJSTypeExpression.copy()JSDocInfo.getBaseType()Gets the base type specified by the@extendsannotation.JSDocInfo.getEnumParameterType()Gets the enum parameter type specified by the@enumannotation.JSDocInfo.getLendsName()Gets the name we're lending to in a@lendsannotation.@Nullable JSTypeExpressionJSDocInfo.getParameterType(String parameter) Gets the type of a given named parameter.JSDocInfo.getReturnType()Gets the return type specified by the@returnannotation.JSDocInfo.getThisType()Gets the type specified by the@thisannotation.JSDocInfo.getType()Gets the type specified by the@typeannotation.JSDocInfo.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.JSTypeExpression.replaceNamesWithUnknownType(Set<String> names) Replaces given names in this type expression with unknownMethods in com.google.javascript.rhino that return types with arguments of type JSTypeExpressionModifier and TypeMethodDescriptionJSDocInfo.getExtendedInterfaces()Returns the interfaces extended by an interfaceJSDocInfo.getImplementedInterfaces()Returns the types specified by the@implementsannotation.com.google.common.collect.ImmutableMap<String, JSTypeExpression> JSDocInfo.getTemplateTypes()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 JSTypeExpressionModifier and TypeMethodDescriptionbooleanJSDocInfo.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(String parameterName, JSTypeExpression type) Records a typed parameter.booleanJSDocInfo.Builder.recordReturnType(JSTypeExpression type) Records a return type.booleanJSDocInfo.Builder.recordTemplateTypeName(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 JSTypeExpressionModifier and TypeMethodDescriptionJSTypeRegistry.evaluateTypeExpression(JSTypeExpression expr, StaticTypedScope scope) JSTypeRegistry.evaluateTypeExpressionInGlobalScope(JSTypeExpression expr)