Lines Matching refs:flags

50      * We use negative flags because most properties are expected to
51 * be 'writable', 'configurable' and 'enumerable'. With negative flags,
108 /** Property flags. */
109 private int flags;
130 * @param flags property flags
133 Property(final Object key, final int flags, final int slot) {
136 this.flags = flags;
145 Property(final Property property, final int flags) {
149 this.flags = flags;
169 * return the result of merging their flags.
173 * @return merged flags.
226 * Property flag utility method for {@link PropertyDescriptor}. Get the property flags
230 * @return flags for properties that conform to property descriptor
271 return (flags & NOT_WRITABLE) == 0;
279 return (flags & NOT_CONFIGURABLE) == 0;
287 return (flags & NOT_ENUMERABLE) == 0;
295 return (flags & IS_PARAMETER) != 0;
303 return (flags & HAS_ARGUMENTS) != 0;
325 return (flags & IS_BOUND) != 0;
334 return (flags & NEEDS_DECLARATION) != 0;
338 * Add more property flags to the property. Properties are immutable here,
342 * @param propertyFlags flags to be OR:ed to the existing property flags
346 if ((this.flags & propertyFlags) != propertyFlags) {
348 cloned.flags |= propertyFlags;
355 * Get the flags for this property
356 * @return property flags
359 return flags;
363 * Remove property flags from the property. Properties are immutable here,
367 * @param propertyFlags flags to be subtracted from the existing property flags
371 if ((this.flags & propertyFlags) != 0) {
373 cloned.flags &= ~propertyFlags;
384 * @param propertyFlags flags that are replacing from the existing property flags
388 if (this.flags != propertyFlags) {
390 cloned.flags &= ~MODIFY_MASK;
391 cloned.flags |= propertyFlags & MODIFY_MASK;
558 return Objects.hashCode(this.key) ^ flags ^ getSlot() ^ (t == null ? 0 : t.hashCode());
624 append(indent(Integer.toHexString(flags), 4)).
691 return (flags & IS_FUNCTION_DECLARATION) != 0;
699 return (flags & IS_LEXICAL_BINDING) != 0;
707 return (flags & DUAL_FIELDS) != 0;
715 return (flags & IS_ACCESSOR_PROPERTY) != 0;