Struct lib_ruby_parser::nodes::Kwarg [−][src]
Expand description
Represents required keyword argument (i.e. foo in def m(foo:); end)
Fields
name: StringName of the keyword argument
name_l: LocLocation of the name
def foo(bar:); end
~~~
expression_l: LocLocation of the full expression
def foo(bar:); end
~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kwargimpl UnwindSafe for KwargBlanket Implementations
Mutably borrows from an owned value. Read more