mirror of
https://github.com/python/cpython.git
synced 2026-10-28 10:25:05 +08:00
* gh-153569: move tokenizer input state and relocation into the reader * gh-153569: borrow diagnostic lines through the source API * gh-153569: group indentation and logical-line state * gh-153569: remove unused tokenizer cursor and source lookup APIs * gh-153569: report tokenizer diagnostics without rewinding the scanner * gh-153569: use tokenizer views and remove obsolete API remnants
12 lines
293 B
C
12 lines
293 B
C
#ifndef Py_TOKENIZER_READER_H
|
|
#define Py_TOKENIZER_READER_H
|
|
|
|
struct tok_state;
|
|
|
|
void _PyTok_ReaderFree(struct tok_state *);
|
|
int _PyTok_ReaderUnderflow(struct tok_state *);
|
|
int _PyTok_ReaderIsInteractive(const struct tok_state *);
|
|
void _PyTok_ReaderStopInteractive(struct tok_state *);
|
|
|
|
#endif
|