Lines Matching defs:start
41 // Here, mark is the start of the node, while p->mark is the end.
149 initialize_token(Parser *p, Token *token, const char *start, const char *end, int token_type) {
152 token->type = (token_type == NAME) ? _get_keyword_or_name_type(p, start, (int)(end - start)) : token_type;
153 token->bytes = PyBytes_FromStringAndSize(start, end - start);
169 int col_offset = (start != NULL && start >= line_start) ? (int)(start - line_start) : -1;
211 const char *start;
213 int type = _PyTokenizer_Get(p->tok, &start, &end);
217 Py_ssize_t len = end - start;
223 strncpy(tag, start, len);
230 type = _PyTokenizer_Get(p->tok, &start, &end);
253 return initialize_token(p, t, start, end, type);