Searched refs:last_token (Results 1 - 9 of 9) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
H A Drequireprovidesorter.py122 last_token = tokens[-1]
123 i = last_token
249 last_token = tokenutil.GetLastTokenInSameLine(token)
251 all_tokens = self._GetTokenList(first_token, last_token)
255 def _GetTokenList(self, first_token, last_token):
256 """Gets a list of all tokens from first_token to last_token, inclusive.
260 last_token: The last token to get.
263 A list of all tokens between first_token and last_token, including both
264 first_token and last_token.
267 Exception: If the token stream ends before last_token i
[all...]
H A Dtokenutil.py88 last_token = GetLastTokenInSameLine(token)
91 while first_token != last_token:
94 tokens_in_line.append(last_token)
H A Dindentation.py511 last_token = token_info.token.previous
513 if (last_token and
515 last_token)):
519 last_token = stack_info.token
H A Decmalintrules.py117 def _CheckLineLength(self, last_token, state):
121 last_token: The last token in the line.
126 line_number = last_token.line_number
127 token = last_token
158 if long_line_regexp.match(last_token.line):
177 'Line too long (%d characters).' % len(line), last_token)
H A Dstatetracker.py666 last_token = None
697 last_token = iterator
704 end_token = last_token
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dprofile.rb211 attr_reader :last_token
223 @last_token = nil
233 @last_token = nil
288 @last_token = token
296 @last_token = token
331 @profile.characters_matched = ( @last_token || input.tokens.last ).stop + 1 rescue 0
/external/google-breakpad/src/testing/scripts/generator/cpp/
H A 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/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
H A DParser.java25 private Token last_token; field in class:Parser
128 this.last_token = this.lexer.peek();
863 throw new ParserException(this.last_token,
/external/testng/ant/3rdparty/
H A Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data.hdf assets/templates/assets/ ...

Completed in 8763 milliseconds