class Parser::AST::Node
@return [Parser::Source::Map]
Source map for this Node.
@!attribute [r] location
@api public
class provided by gem [ast](rdoc.info/gems/ast).
child nodes. It extends the basic [AST::Node](rdoc.info/gems/ast/AST/Node)
{Parser::AST::Node} contains information about a single AST node and its
#
def assign_properties(properties)
(**properties)
-
:location
(Parser::Source::Map
) -- Location information
Parameters:
-
properties
(Hash
) --
def assign_properties(properties) if (location = properties[:location]) @location = location end end