pub struct FunctionCall {Show 15 fields
pub argument_types: Option<Vec<TypeDescriptions>>,
pub arguments: Vec<Expression>,
pub expression: Box<Expression>,
pub id: i64,
pub is_constant: bool,
pub is_l_value: bool,
pub is_pure: bool,
pub kind: FunctionCallKind,
pub l_value_requested: bool,
pub name_locations: Vec<String>,
pub names: Vec<String>,
pub node_type: FunctionCallNodeType,
pub src: SourceLocation,
pub try_call: bool,
pub type_descriptions: TypeDescriptions,
}
Expand description
FunctionCall
JSON schema
{
"type": "object",
"required": [
"arguments",
"expression",
"id",
"isConstant",
"isLValue",
"isPure",
"kind",
"lValueRequested",
"names",
"nodeType",
"src",
"tryCall",
"typeDescriptions"
],
"properties": {
"argumentTypes": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/TypeDescriptions"
}
},
{
"type": "null"
}
]
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/definitions/Expression"
}
},
"expression": {
"$ref": "#/definitions/Expression"
},
"id": {
"type": "integer"
},
"isConstant": {
"type": "boolean"
},
"isLValue": {
"type": "boolean"
},
"isPure": {
"type": "boolean"
},
"kind": {
"enum": [
"functionCall",
"typeConversion",
"structConstructorCall"
]
},
"lValueRequested": {
"type": "boolean"
},
"nameLocations": {
"type": "array",
"items": {
"type": "string"
}
},
"names": {
"type": "array",
"items": {
"type": "string"
}
},
"nodeType": {
"enum": [
"FunctionCall"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"tryCall": {
"type": "boolean"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
}
},
"additionalProperties": false
}
Fields§
§argument_types: Option<Vec<TypeDescriptions>>
§arguments: Vec<Expression>
§expression: Box<Expression>
§id: i64
§is_constant: bool
§is_l_value: bool
§is_pure: bool
§kind: FunctionCallKind
§l_value_requested: bool
§name_locations: Vec<String>
§names: Vec<String>
§node_type: FunctionCallNodeType
§src: SourceLocation
§try_call: bool
§type_descriptions: TypeDescriptions
Trait Implementations§
Source§impl Clone for FunctionCall
impl Clone for FunctionCall
Source§fn clone(&self) -> FunctionCall
fn clone(&self) -> FunctionCall
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 FunctionCall
impl Debug for FunctionCall
Source§impl<'de> Deserialize<'de> for FunctionCall
impl<'de> Deserialize<'de> for FunctionCall
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<&FunctionCall> for FunctionCall
impl From<&FunctionCall> for FunctionCall
Source§fn from(value: &FunctionCall) -> Self
fn from(value: &FunctionCall) -> Self
Converts to this type from the input type.
Source§impl From<FunctionCall> for Expression
impl From<FunctionCall> for Expression
Source§fn from(value: FunctionCall) -> Self
fn from(value: FunctionCall) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FunctionCall
impl RefUnwindSafe for FunctionCall
impl Send for FunctionCall
impl Sync for FunctionCall
impl Unpin for FunctionCall
impl UnwindSafe for FunctionCall
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