class Parser::AST::Node

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