Home
last modified time | relevance | path

Searched refs:end_token (Results 1 – 23 of 23) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Djavascriptstatetracker_test.py71 end_token = function.end_token
81 self.assertEquals('}', end_token.string)
82 self.assertEquals(5, end_token.line_number)
83 self.assertEquals(0, end_token.start_index)
94 end_token = function.end_token
104 self.assertEquals('}', end_token.string)
105 self.assertEquals(13, end_token.line_number)
106 self.assertEquals(0, end_token.start_index)
114 doc_tokens = tokenutil.GetTokenRange(doc.start_token, doc.end_token)
127 end_token = function.end_token
[all …]
Dstatetracker.py239 end_token, contents = _GetMatchingEndBraceAndContents(brace)
241 self.jstype = typeannotation.Parse(brace, end_token,
244 self.type_end_token = end_token
324 self.end_token = None
422 if (token is self.end_token or
473 token = self.end_token.next
704 end_token = last_token
711 return end_token, contents
742 self.end_token = None
1011 return self._doc_comment and self._doc_comment.end_token is None
[all …]
Dscopeutil.py137 if context.start_token and context.end_token:
139 context.end_token)
Derror_fixer.py294 end_token = token.attached_object.type_end_token
295 if end_token.type != Type.DOC_END_BRACE:
299 last_type = end_token
301 last_type = end_token.previous
Dindentation.py459 def _AllFunctionPropertyAssignTokens(self, start_token, end_token): argument
470 for token in tokenutil.GetTokenRange(start_token, end_token):
540 close_block = token_info.token.metadata.context.end_token
Dtokenutil.py451 def GetTokenRange(start_token, end_token): argument
469 if token == end_token:
Decmametadatapass.py135 self.end_token = None
272 top_context.end_token = self._token
Djavascriptlintrules.py286 function.doc.end_token, position=Position.AtBeginning())
358 function.doc.end_token, position=Position.AtBeginning())
/external/lldb/source/Core/
DInputReader.cpp46 const char *end_token, in Initialize() argument
55 if (end_token != NULL) in Initialize()
56 m_end_token = end_token; in Initialize()
67 if (end_token != NULL && granularity != eInputReaderGranularityInvalid) in Initialize()
73 if (strlen (end_token) > 1) in Initialize()
109 const char *end_token = NULL; in HandleRawBytes() local
113 end_token = ::strstr (bytes, m_end_token.c_str()); in HandleRawBytes()
114 if (end_token >= bytes + bytes_len) in HandleRawBytes()
115 end_token = NULL; in HandleRawBytes()
129 if (end_token == p) in HandleRawBytes()
[all …]
DInputReaderEZ.cpp65 const char* end_token, in Initialize() argument
72 end_token, in Initialize()
/external/lldb/source/API/
DSBInputReader.cpp82 const char *end_token, in Initialize() argument
96 InputReader::GranularityAsCString (granularity), end_token, prompt, in Initialize()
110 end_token, in Initialize()
/external/lldb/include/lldb/Core/
DInputReader.h136 const char *end_token,
142 const char* end_token = "DONE",
DInputReaderEZ.h40 const char* end_token = "DONE",
/external/lldb/scripts/Python/interface/
DSBInputReader.i33 const char *end_token,
/external/lldb/include/lldb/API/
DSBInputReader.h41 const char *end_token,
/external/protobuf/python/google/protobuf/
Dtext_format.py362 end_token = '>'
365 end_token = '}'
379 while not tokenizer.TryConsume(end_token):
381 raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token))
/external/nanopb-c/generator/google/protobuf/
Dtext_format.py216 end_token = '>'
219 end_token = '}'
233 while not tokenizer.TryConsume(end_token):
235 raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token))
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp229 const CFX_ByteStringC& end_token, in FindTagPair() argument
244 if (word == end_token) { in FindTagPair()
/external/v8/src/parsing/
Dpreparser.cc212 void PreParser::ParseStatementList(int end_token, bool* ok, in ParseStatementList() argument
223 while (peek() != end_token) { in ParseStatementList()
Dpreparser.h1099 void ParseStatementList(int end_token, bool* ok,
Dparser.h762 void* ParseStatementList(ZoneList<Statement*>* body, int end_token, bool* ok);
Dparser.cc1189 void* Parser::ParseStatementList(ZoneList<Statement*>* body, int end_token, in ParseStatementList() argument
1203 while (peek() != end_token) { in ParseStatementList()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h213 const CFX_ByteStringC& end_token,