MCPcopy Create free account
hub / github.com/apache/fory / generate

Method generate

compiler/fory_compiler/generators/cpp.py:87–94  ·  view source on GitHub ↗

Generate C++ files for the schema.

(self)

Source from the content-addressed store, hash-verified

85 }
86
87 def generate(self) -> List[GeneratedFile]:
88 """Generate C++ files for the schema."""
89 files = []
90
91 # Generate a single header file with all types
92 files.append(self.generate_header())
93
94 return files
95
96 def get_header_name(self) -> str:
97 """Get the header file name."""

Callers

nothing calls this directly

Calls 2

generate_headerMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected