Struct boa::syntax::ast::node::field::get_const_field::GetConstField
source · [−]pub struct GetConstField { /* private fields */ }
Expand description
This property accessor provides access to an object’s properties by using the dot notation.
In the object.property syntax, the property must be a valid JavaScript identifier. (In the ECMAScript standard, the names of properties are technically “IdentifierNames”, not “Identifiers”, so reserved words can be used but are not recommended).
One can think of an object as an associative array (a.k.a. map, dictionary, hash, lookup table). The keys in this array are the names of the object’s properties.
It’s typical when speaking of an object’s properties to make a distinction between properties and methods. However, the property/method distinction is little more than a convention. A method is simply a property that can be called (for example, if it has a reference to a Function instance as its value).
More information:
Implementations
sourceimpl GetConstField
impl GetConstField
Trait Implementations
sourceimpl Clone for GetConstField
impl Clone for GetConstField
sourcefn clone(&self) -> GetConstField
fn clone(&self) -> GetConstField
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more