Struct php_parser_rs::parser::ast::functions::FunctionParameter
source · pub struct FunctionParameter {
pub start: Span,
pub end: Span,
pub name: SimpleVariable,
pub attributes: Vec<AttributeGroup>,
pub type: Option<Type>,
pub variadic: bool,
pub default: Option<Expression>,
pub by_ref: bool,
}
Fields§
§start: Span
§end: Span
§name: SimpleVariable
§attributes: Vec<AttributeGroup>
§type: Option<Type>
§variadic: bool
§default: Option<Expression>
§by_ref: bool
Trait Implementations§
source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
source§fn clone(&self) -> FunctionParameter
fn clone(&self) -> FunctionParameter
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 FunctionParameter
impl Debug for FunctionParameter
source§impl<'de> Deserialize<'de> for FunctionParameter
impl<'de> Deserialize<'de> for FunctionParameter
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