MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / to_dict

Method to_dict

Scripts/codegen/_vendored/ast_nodes.py:38–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 line: int = 0
37
38 def to_dict(self) -> Dict[str, Any]:
39 return {
40 "name": self.name,
41 "return_type": self.return_type,
42 "params": [p.to_dict() for p in self.params],
43 "doc": self.doc,
44 "file": self.file,
45 "line": self.line,
46 }
47
48
49@dataclass

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.45

Tested by

no test coverage detected