Uses of Interface
com.google.javascript.rhino.jstype.Property.Key
Packages that use Property.Key
-
Uses of Property.Key in com.google.javascript.rhino.jstype
Classes in com.google.javascript.rhino.jstype that implement Property.KeyModifier and TypeClassDescriptionstatic final recordA property string key, such as a in {a: 0};static final recordA property well-known symbol key, such as Symbol.iterator.Methods in com.google.javascript.rhino.jstype that return types with arguments of type Property.KeyModifier and TypeMethodDescriptionfinal com.google.common.collect.ImmutableSet<Property.Key> ObjectType.getOwnPropertyKeys()Returns the names of all the properties directly on this type.Methods in com.google.javascript.rhino.jstype with parameters of type Property.KeyModifier and TypeMethodDescriptionfinal booleanObjectType.defineDeclaredProperty(Property.Key propertyName, JSType type, Node propertyNode) Defines a property whose type is explicitly declared by the programmer.final booleanObjectType.defineInferredProperty(Property.Key propertyName, JSType type, Node propertyNode) Defines a property whose type is inferred.booleanNoResolvedType.defineProperty(Property.Key propertyName, JSType type, boolean inferred, Node propertyNode) final Property.OwnedPropertyObjectType.findClosestDefinition(Property.Key propertyName) Returns the closest definition of the property including this type itself.final @Nullable JSTypeJSType.findPropertyType(Property.Key propertyName) Coerces this type to an Object type, then gets the type of the property whose name is given.protected JSTypeEnumElementType.findPropertyTypeWithoutConsideringTemplateTypes(Property.Key propertyName) protected @Nullable JSTypeJSType.findPropertyTypeWithoutConsideringTemplateTypes(Property.Key propertyName) Looks up a property on this type, but without properly replacing any templates in the result.protected @Nullable JSTypeObjectType.findPropertyTypeWithoutConsideringTemplateTypes(Property.Key propertyName) protected JSTypeProxyObjectType.findPropertyTypeWithoutConsideringTemplateTypes(Property.Key propertyName) protected JSTypeUnionType.findPropertyTypeWithoutConsideringTemplateTypes(Property.Key propertyName) final @Nullable NodeObjectType.getOwnPropertyDefSite(Property.Key propertyName) final @Nullable JSDocInfoObjectType.getOwnPropertyJSDocInfo(Property.Key propertyName) Gets the docInfo on the specified property on this type.final JSType.HasPropertyKindObjectType.getOwnPropertyKind(Property.Key propertyName) Checks whether the property whose name is given is present directly on the object.final PropertyObjectType.getOwnSlot(Property.Key name) final NodeObjectType.getPropertyDefSite(Property.Key propertyName) final @Nullable JSDocInfoObjectType.getPropertyJSDocInfo(Property.Key propertyName) EnumElementType.getPropertyKind(Property.Key propertyName, boolean autobox) JSType.getPropertyKind(Property.Key pname) Checks whether the property is present on the object.JSType.getPropertyKind(Property.Key pname, boolean autobox) Checks whether the property is present on the object.ObjectType.getPropertyKind(Property.Key propertyName, boolean autobox) final JSType.HasPropertyKindProxyObjectType.getPropertyKind(Property.Key propertyName, boolean autobox) UnionType.getPropertyKind(Property.Key pname, boolean autobox) final @Nullable NodeObjectType.getPropertyNode(Property.Key propertyName) final JSTypeFunctionType.getPropertyType(Property.Key name) ObjectType.getPropertyType(Property.Key propertyName) Gets the property type of the property whose name is given.@Nullable JSTypeTemplatizedType.getPropertyType(Property.Key propertyName) final PropertyFunctionType.getSlot(Property.Key name) @Nullable PropertyObjectType.getSlot(Property.Key name) Default getSlot implementation.final booleanObjectType.hasOwnDeclaredProperty(Property.Key name) Whether the given property is declared on this object.final booleanObjectType.hasOwnProperty(Property.Key propertyName) Checks whether the property whose name is given is present directly on the object.final booleanJSType.hasProperty(Property.Key pname) final booleanObjectType.isPropertyTypeDeclared(Property.Key propertyName) Checks whether the property's type is declared.final booleanObjectType.isPropertyTypeInferred(Property.Key propertyName) Checks whether the property's type is inferred.final voidNoObjectType.setPropertyJSDocInfo(Property.Key propertyName, JSDocInfo info) voidObjectType.setPropertyJSDocInfo(Property.Key propertyName, JSDocInfo info) Sets the docInfo for the specified property from theJSDocInfoon its definition.voidPrototypeObjectType.setPropertyJSDocInfo(Property.Key propertyName, JSDocInfo info) final voidProxyObjectType.setPropertyJSDocInfo(Property.Key propertyName, JSDocInfo info) voidObjectType.setPropertyNode(Property.Key propertyName, Node defSite) Sets the node where the property was defined.voidPrototypeObjectType.setPropertyNode(Property.Key propertyName, Node defSite)