Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/py/
A Dlexer.c168 vstr_reset(&lex->fstring_args); in next_char()
340 vstr_add_str(&lex->fstring_args, ".format("); in parse_string_literal()
371 if (lex->fstring_args.buf[lex->fstring_args.len - 1] == '=') { in parse_string_literal()
374 … vstr_add_strn(&lex->vstr, lex->fstring_args.buf + i, lex->fstring_args.len - i); in parse_string_literal()
376 lex->fstring_args.len--; in parse_string_literal()
541 vstr_add_byte(&lex->fstring_args, ')'); in mp_lexer_to_next()
545 lex->chr0 = lex->fstring_args.buf[0]; in mp_lexer_to_next()
546 lex->chr1 = lex->fstring_args.buf[1]; in mp_lexer_to_next()
547 lex->chr2 = lex->fstring_args.buf[2]; in mp_lexer_to_next()
826 vstr_init(&lex->fstring_args, 0); in mp_lexer_new()
[all …]
A Dlexer.h184 vstr_t fstring_args; // extracted arguments to pass to .format() member

Completed in 5 milliseconds