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

Function parseFile

src/antlr4helper/SolidityParser.py:256–257  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

254 return parseStream(getTokenStream(InputStream(content)))
255
256def parseFile(file_path):
257 return parseStream(getTokenStream(FileStream(file_path, encoding='utf-8')))
258

Callers

nothing calls this directly

Calls 2

parseStreamFunction · 0.85
getTokenStreamFunction · 0.85

Tested by

no test coverage detected