1 // Copyright 2025 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "gn/graph/include/module.h" 6 Module(const std::string & name,const std::string & path,const Item * item)7Module::Module(const std::string& name, const std::string& path, const Item* item) : Node(name, path) 8 { 9 item_ = item; 10 } 11 GetItem() const12const Item* Module::GetItem() const 13 { 14 return item_; 15 }