Package com.oracle.truffle.js.nodes.access
package com.oracle.truffle.js.nodes.access
-
ClassDescriptionUtility node implementing ForIn/OfBodyEvaluation handling of async iterators.CreateAsyncFromSyncIterator ( syncIteratorRecord ).CreateDataPropertyOrThrow abstract operation.ES6 7.4.7 CreateIterResultObject (value, done).Debug scope variable access wrapper that delegates to another access node if the scope does not contain a variable with that name.Instantiates a global lexical (let or const) declaration.EnumerableOwnPropertyNames (O, kind).Returns an Iterator object iterating over the enumerable properties of an object.Wrapper around a variable access in the presence of dynamic scopes induced by direct eval calls.Creates a JS object from a
PropertyDescriptor.GetIterator(obj, hint = async).GetIteratorFlattenable(obj, hint).GetIteratorFromMethod ( obj, method ).GetIterator(obj, hint = sync).GetIterator(obj, hint = sync).ES6 7.3.9 GetMethod(O, P).GetSetRecord(obj).ES6 12.2.9.3 Runtime Semantics: GetTemplateObject(templateLiteral).Checks if a scope binding is present and guards against TDZ and const assignment.Wrapper around a global property access that handles potential lexical declarations shadowing global properties.For use when a property is undefined.InitializeInstanceElements (O, constructor).Non-standard IsArray.Implements abstract operation IsExtensible.Checks whether the argument is a JS object, null, or undefined.Checks whether the argument is a JS object (not including null and undefined).Checks whether the argument is of type Object (JS or foreign), i.e., not a primitive value.ES2015: 7.2.8 IsRegExp().Implements the part ofIterableToList(items, [method])afterGetIterator.ES6 7.4.6 IteratorClose(iterator, completion).ES6 7.4.3 IteratorComplete(iterResult).IteratorComplete(iterResult) unary expression.Combines IteratorStep and IteratorValue in one node.Returns the value of [[Done]] field of an IteratorRecord.ES6 7.4.2 IteratorNext(iterator, value).IteratorNext(iterator) unary expression.Sets the [[Done]] field of an IteratorRecord.IteratorStep(iterator).Absorb iterator to new array.ES6 7.4.4 IteratorValue(iterResult).[[GetOwnProperty]] (O, K) internal method.This node wraps part of the [[HasProperty]] function of ECMAScript.NewPrivateName (description).Base class for object members that can be used as ES class elements.Base class for all private class elements.Wrapper node for an optional chain that returns the result (usually undefined) on short circuit.Evaluates an optional expression and if its value is null or undefined, jumps out of the short-circuiting expression to the parentOptionalChainNode.Evaluates an optional expression and if its value is null or undefined, jumps out of the short-circuiting expression to the parentOptionalChainNode.Performs a private brand check.Adds a private field with a private name to a JS object (an instance of a JS class).Gets the value of a private field with a private name in a JS object.Sets the value of a private field with a private name in a JS object.PropertyCacheNode<T extends PropertyCacheNode.CacheNode<T>>Common base class for property cache nodes.Checks theShapeof aJSDynamicObject.PropertyCacheNode.CacheNode<T extends PropertyCacheNode.CacheNode<T>>Checks whether the receiver is compatible with one of the two shapes.Check that the given shape is valid and the property is unchanged using assumptions only.Checks that the given shape and all prototype shapes up to depth are valid, that the property is unchanged in these shapes, and that all prototypes are stable, all using assumptions only.Checks the top shape by identity and the shapes of the prototype chain up to the given depth using assumptions only (valid and property unchanged).Check the shape of the object by identity and the shape of its immediate prototype by assumption (valid and unchanged).Checks whether the receiver can be handled by the corresponding specialization.Check the object shape by identity comparison.Check the shapes of the prototype chain up to the given depth.Check the shapes of the object and its immediate prototype.Check the shapes of the prototype chain up to the given depth.Checks the shapes of the prototype chain up to the given depth using assumptions only (valid and property unchanged).ES6 9.1.8 [[Get]] (P, Receiver).For use when a property is undefined and __noSuchProperty__/__noSuchMethod__ had been set.If object is undefined or null, throw TypeError.For use when a global property is undefined.For use when a property is undefined.If object is undefined or null, throw TypeError.Just a non-inline wrapper aroundReadElementNode.ArrayReadElementCacheDispatchNode.Implementation of the abstract operation RequireObjectCoercible(argument) (ES6 7.2.1).Implementation of the ToPropertyDescriptor function as defined in ECMA 8.10.5.Reads thewithbinding object and performs Object Environment HasBinding(name).