MCPcopy Create free account
hub / github.com/cloudflare/realtimekit-ui / parseFile

Method parseFile

scripts/generate-stencil-docs.js:121–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 async parseFile() {
122 const content = fs.readFileSync(this.filePath, 'utf8');
123
124 // Parse Components namespace
125 this.parseComponents(content);
126
127 // Parse Events namespace if it exists
128 this.parseEvents(content);
129 }
130
131 parseComponents(content) {
132 // Find the Components namespace

Callers 1

mainFunction · 0.95

Calls 2

parseComponentsMethod · 0.95
parseEventsMethod · 0.95

Tested by

no test coverage detected