Struct lib_ruby_parser::nodes::Arg [−][src]
Expand description
Represents a positional required block/method argument.
a in def m(a); end or proc { |a| }
Fields
name: StringName of the argument
expression_l: LocLocation of the full expression
def m(argument); end
~~~~~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Argimpl UnwindSafe for ArgBlanket Implementations
Mutably borrows from an owned value. Read more