Struct lib_ruby_parser::nodes::Module [−][src]
#[repr(C)]pub struct Module { pub name: Box<Node>, pub body: Option<Box<Node>>, pub keyword_l: Loc, pub end_l: Loc, pub expression_l: Loc, }
Expand description
Represents module declaration using module keyword
Fields
name: Box<Node>Name of the module
body: Option<Box<Node>>Body of the module
None if module has no body
keyword_l: LocLocation of the module keyword
module M; end
~~~~~~
end_l: LocLocation of the end keyword
module M; end
~~~
expression_l: LocLocation of the full expression
module M; end
~~~~~~~~~~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Moduleimpl UnwindSafe for ModuleBlanket Implementations
Mutably borrows from an owned value. Read more