Home
last modified time | relevance | path

Searched refs:peek_token (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/
H A Dbuild_hdi_files_info.py97 def peek_token(self): member in Lexer
329 while lex.peek_token().token_type != TokenType.END_OF_FILE:
330 cur_token_type = lex.peek_token().token_type
363 cur_token_type = lex.peek_token().token_type
366 token = lex.peek_token()
367 if lex.peek_token().token_type != TokenType.ID:
405 token = lex.peek_token()
426 if lex.peek_token().token_type != TokenType.ID:
427 token = lex.peek_token()
434 if lex.peek_token().token_type != TokenType.ID:
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/
H A Dhcs_build_info.py85 def peek_token(self): member in Lexer
217 while lex.peek_token().token_type != TokenType.END_OF_FILE:
218 cur_token_type = lex.peek_token().token_type
226 token = lex.peek_token()