You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The names MypyFile, ExpressionStmt, CallExpr, NameExpr and StrExpr refer to AST node classes defined in mypy/nodes.py.
The numbers after colons are line numbers.
The parser is implemented manually and is fairly straightforward.
The parser does only a minimal amount of consistency checks. As such it also accepts many invalid programs.
The next compiler pass, SemanticAnalyzer, performs additional checks.