MCPcopy Create free account
hub / github.com/GPTScan/GPTScan / parseString

Function parseString

src/antlr4helper/SolidityParser.py:253–254  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

251 return {'subcontracts': subcontracts, 'functions': functions, 'output':original_output}
252
253def parseString(content):
254 return parseStream(getTokenStream(InputStream(content)))
255
256def parseFile(file_path):
257 return parseStream(getTokenStream(FileStream(file_path, encoding='utf-8')))

Callers 1

__parse_all_filesMethod · 0.85

Calls 2

parseStreamFunction · 0.85
getTokenStreamFunction · 0.85

Tested by

no test coverage detected