mirror of https://github.com/python/cpython
19 lines
253 B
C
19 lines
253 B
C
|
#ifndef Py_PGEN_H
|
||
|
#define Py_PGEN_H
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
|
||
|
/* Parser generator interface */
|
||
|
|
||
|
extern grammar *meta_grammar(void);
|
||
|
|
||
|
struct _node;
|
||
|
extern grammar *pgen(struct _node *);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif /* !Py_PGEN_H */
|