Parse ASDL from the given file and return a Module node describing it.
(filename)
| 217 | # here is the top-level parse function. |
| 218 | |
| 219 | def parse(filename): |
| 220 | """Parse ASDL from the given file and return a Module node describing it.""" |
| 221 | with open(filename, encoding="utf-8") as f: |
| 222 | parser = ASDLParser() |
| 223 | return parser.parse(f.read()) |
| 224 | |
| 225 | # Types for describing tokens in an ASDL specification. |
| 226 | class TokenKind: |
nothing calls this directly
no test coverage detected
searching dependent graphs…