Struct boa::syntax::ast::node::field::get_const_field::GetConstField [−][src]
pub struct GetConstField { /* fields omitted */ }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
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Runs Finalize::finalize() on this object and all contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for GetConstField
impl !Send for GetConstField
impl !Sync for GetConstField
impl Unpin for GetConstField
impl UnwindSafe for GetConstField
Blanket Implementations
Mutably borrows from an owned value. Read more