Struct php_parser_rs::Param
source · pub struct Param {
pub name: Expression,
pub type: Option<Type>,
pub variadic: bool,
pub default: Option<Expression>,
pub flag: Option<PropertyFlag>,
pub by_ref: bool,
}
Fields§
§name: Expression
§type: Option<Type>
§variadic: bool
§default: Option<Expression>
§flag: Option<PropertyFlag>
§by_ref: bool
Trait Implementations§
source§impl From<&ByteString> for Param
impl From<&ByteString> for Param
source§fn from(name: &ByteString) -> Self
fn from(name: &ByteString) -> Self
Converts to this type from the input type.
source§impl From<ByteString> for Param
impl From<ByteString> for Param
source§fn from(name: ByteString) -> Self
fn from(name: ByteString) -> Self
Converts to this type from the input type.