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