-
Notifications
You must be signed in to change notification settings - Fork 0
CPython Parser与Grammar
WinChua edited this page Feb 22, 2020
·
1 revision
- 一些API: Parser/parser.h
- parser_state *PyParser_New(grammar *g, int start);
- void PyParser_Delete(parser_state *ps);
- int PyParser_AddToken(parser_state *ps, int type, char *str,int lineno, int col_offset,int end_lineno, int end_col_offset,int *expected_ret);
- void PyGrammar_AddAccelerators(grammar *g);