mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 02:15:10 +00:00 
			
		
		
		
	 01481f2dc1
			
		
	
	
		01481f2dc1
		
			
		
	
	
	
	
		
			
			* The lexer, which include the actual lexeme producing logic, goes into the `lexer` directory. * The wrappers, one wrapper per input mode (file, string, utf-8, and readline), go into the `tokenizer` directory and include logic for creating a lexer instance and managing the buffer for different modes. --------- Co-authored-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _PY_LEXER_LEXER_H_
 | |
| #define _PY_LEXER_LEXER_H_
 | |
| 
 | |
| #include "state.h"
 | |
| 
 | |
| int _PyLexer_update_fstring_expr(struct tok_state *tok, char cur);
 | |
| 
 | |
| int _PyTokenizer_Get(struct tok_state *, struct token *);
 | |
| 
 | |
| #endif
 |