MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / parseCode

Function parseCode

src/parser/index.ts:199–203  ·  view source on GitHub ↗
(sourceCode: string)

Source from the content-addressed store, hash-verified

197}
198
199export function parseCode<AllowErrors extends true|false = false>(sourceCode: string): AbiType<AllowErrors>[] {
200 const input = Parser.parseFile(sourceCode);
201 const handler = new ParserWrapper(input);
202 return handler.allStructs;
203}
204
205export function parseCode2(sourceCode: string): {
206 functions: AbiFunction[];

Callers 1

getInputFilesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected