MCPcopy Create free account
hub / github.com/nodejs/node / Tool

Class Tool

tools/gyp/pylib/gyp/MSVSProject.py:12–31  ·  view source on GitHub ↗

Visual Studio tool.

Source from the content-addressed store, hash-verified

10
11
12class Tool:
13 """Visual Studio tool."""
14
15 def __init__(self, name, attrs=None):
16 """Initializes the tool.
17
18 Args:
19 name: Tool name.
20 attrs: Dict of tool attributes; may be None.
21 """
22 self._attrs = attrs or {}
23 self._attrs["Name"] = name
24
25 def _GetSpecification(self):
26 """Creates an element for the tool.
27
28 Returns:
29 A new xml.dom.Element for the tool.
30 """
31 return ["Tool", self._attrs]
32
33
34class Filter:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected