class Parser::AST::Node


@return [Parser::Source::Map]
Source map for this Node.
@!attribute [r] location
@api public
class provided by gem [ast](www.rubydoc.info/gems/ast).
child nodes. It extends the basic [AST::Node](www.rubydoc.info/gems/ast/AST/Node)
{Parser::AST::Node} contains information about a single AST node and its
#

def assign_properties(properties)

Options Hash: (**properties)
  • :location (Parser::Source::Map) -- Location information

Parameters:
  • properties (Hash) --
def assign_properties(properties)
  if (location = properties[:location])
    location = location.dup if location.frozen?
    location.node = self
    @location = location
  end
end