Home
last modified time | relevance | path

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

/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/
Drequireprovidesorter.py128 last_token = tokens[-1]
129 i = last_token
243 last_token = tokenutil.GetLastTokenInSameLine(token)
245 all_tokens = self._GetTokenList(first_token, last_token)
249 def _GetTokenList(self, first_token, last_token): argument
265 while token != last_token:
270 token_list.append(last_token)
Dtokenutil.py87 last_token = GetLastTokenInSameLine(token)
90 while first_token != last_token:
93 tokens_in_line.append(last_token)
Decmalintrules.py105 def _CheckLineLength(self, last_token, state): argument
113 line_number = last_token.line_number
114 token = last_token
145 if long_line_regexp.match(last_token.line):
162 'Line too long (%d characters).' % len(line), last_token)
Dstatetracker.py482 last_token = None
513 last_token = iterator
520 end_token = last_token
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dast.py755 temp_tokens, last_token = \
758 if last_token.name == '(':
764 temp_tokens.append(last_token)
766 last_token = tokenize.Token(tokenize.SYNTAX, ';', 0, 0)
768 if last_token.name == '[':
772 temp_tokens.append(last_token)
776 temp_tokens2, last_token = \
780 if last_token.name == ';':
794 if last_token.name == '{':
796 self._AddBackToken(last_token)
[all …]
/external/linux-tools-perf/src/tools/lib/traceevent/
Devent-parse.c1259 char *last_token; in event_read_fields() local
1295 last_token = token; in event_read_fields()
1322 strlen(last_token) + 2); in event_read_fields()
1324 free(last_token); in event_read_fields()
1329 strcat(field->type, last_token); in event_read_fields()
1330 free(last_token); in event_read_fields()
1332 field->type = last_token; in event_read_fields()
1333 last_token = token; in event_read_fields()
1344 field->name = last_token; in event_read_fields()
/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()