pub struct MemberAccess {Show 13 fields
pub argument_types: Option<Vec<TypeDescriptions>>,
pub expression: Box<Expression>,
pub id: i64,
pub is_constant: bool,
pub is_l_value: bool,
pub is_pure: bool,
pub l_value_requested: bool,
pub member_location: Option<String>,
pub member_name: String,
pub node_type: MemberAccessNodeType,
pub referenced_declaration: Option<i64>,
pub src: SourceLocation,
pub type_descriptions: TypeDescriptions,
}
Expand description
MemberAccess
JSON schema
{
"type": "object",
"required": [
"expression",
"id",
"isConstant",
"isLValue",
"isPure",
"lValueRequested",
"memberName",
"nodeType",
"src",
"typeDescriptions"
],
"properties": {
"argumentTypes": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/TypeDescriptions"
}
},
{
"type": "null"
}
]
},
"expression": {
"$ref": "#/definitions/Expression"
},
"id": {
"type": "integer"
},
"isConstant": {
"type": "boolean"
},
"isLValue": {
"type": "boolean"
},
"isPure": {
"type": "boolean"
},
"lValueRequested": {
"type": "boolean"
},
"memberLocation": {
"type": "string"
},
"memberName": {
"type": "string"
},
"nodeType": {
"enum": [
"MemberAccess"
]
},
"referencedDeclaration": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
}
},
"additionalProperties": false
}
Fields§
§argument_types: Option<Vec<TypeDescriptions>>
§expression: Box<Expression>
§id: i64
§is_constant: bool
§is_l_value: bool
§is_pure: bool
§l_value_requested: bool
§member_location: Option<String>
§member_name: String
§node_type: MemberAccessNodeType
§referenced_declaration: Option<i64>
§src: SourceLocation
§type_descriptions: TypeDescriptions
Trait Implementations§
Source§impl Clone for MemberAccess
impl Clone for MemberAccess
Source§fn clone(&self) -> MemberAccess
fn clone(&self) -> MemberAccess
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MemberAccess
impl Debug for MemberAccess
Source§impl<'de> Deserialize<'de> for MemberAccess
impl<'de> Deserialize<'de> for MemberAccess
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&MemberAccess> for MemberAccess
impl From<&MemberAccess> for MemberAccess
Source§fn from(value: &MemberAccess) -> Self
fn from(value: &MemberAccess) -> Self
Converts to this type from the input type.
Source§impl From<MemberAccess> for Expression
impl From<MemberAccess> for Expression
Source§fn from(value: MemberAccess) -> Self
fn from(value: MemberAccess) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MemberAccess
impl RefUnwindSafe for MemberAccess
impl Send for MemberAccess
impl Sync for MemberAccess
impl Unpin for MemberAccess
impl UnwindSafe for MemberAccess
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more