Home
last modified time | relevance | path

Searched refs:last_token (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Parser/pegen/
Dparse_string.c518 Token *first_token, Token* t, Token *last_token);
538 Token *t, Token *last_token) in fstring_find_expr() argument
781 first_token, t, last_token); in fstring_find_expr()
807 first_token->col_offset, last_token->end_lineno, in fstring_find_expr()
808 last_token->end_col_offset, p->arena); in fstring_find_expr()
852 Token *first_token, Token *t, Token *last_token) in fstring_find_literal_and_expr() argument
883 expression, first_token, t, last_token) < 0) { in fstring_find_literal_and_expr()
1033 make_str_node_and_del(Parser *p, PyObject **str, Token* first_token, Token *last_token) in make_str_node_and_del() argument
1053 last_token->end_lineno, last_token->end_col_offset, p->arena); in make_str_node_and_del()
1091 Token *first_token, Token* t, Token *last_token) in _PyPegen_FstringParser_ConcatFstring() argument
[all …]
/external/python/cpython3/Lib/test/dtracedata/
Dcall_stack.stp5 last_token = token = tokenize(path, "/");
7 last_token = token;
10 return last_token;
/external/googletest/googlemock/scripts/generator/cpp/
Dast.py774 temp_tokens, last_token = \
778 if last_token.name == '(':
784 temp_tokens.append(last_token)
786 last_token = tokenize.Token(tokenize.SYNTAX, ';', 0, 0)
788 if last_token.name == '[':
792 temp_tokens.append(last_token)
796 temp_tokens2, last_token = \
800 if last_token.name == ';':
814 if last_token.name == '{':
816 self._AddBackToken(last_token)
[all …]
/external/python/pycparser/pycparser/
Dc_lexer.py50 self.last_token = None
77 self.last_token = self.lexer.token()
78 return self.last_token
Dc_parser.py215 return self.clex.last_token
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.cpp641 clang::Token &last_token = m_tokens[range.end_index - 1]; in GetTextForRange() local
643 clang::SourceLocation end_loc = last_token.getLocation(); in GetTextForRange()
645 unsigned end_pos = end_loc.getRawEncoding() + last_token.getLength(); in GetTextForRange()
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc294 const std::string &last_token = (tokens.end() - 1)->value; in ExecuteModel() local
296 (last_token.size() != 1 || !unilib_.IsPunctuation(last_token.at(0)))) { in ExecuteModel()
/external/yapf/yapf/yapflib/
Dformat_decision_state.py216 last_token = bracket.matching_bracket
218 last_token = _LastTokenInLine(bracket.matching_bracket)
220 if not self._FitsOnLine(bracket, last_token):
/external/libtextclassifier/native/annotator/
Dannotator.cc1374 const int64 last_token = std::min( in CopyCachedTokens() local
1380 tokens.reserve(last_token - first_token); in CopyCachedTokens()
1381 for (int i = first_token; i < last_token; ++i) { in CopyCachedTokens()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
DParser.java25 private Token last_token; field in Parser
128 this.last_token = this.lexer.peek(); in parse()
863 throw new ParserException(this.last_token, in parse()