Home
last modified time | relevance | path

Searched refs:scanner_ (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/v8/src/asmjs/
Dasm-parser.h167 AsmJsScanner scanner_; variable
250 return scanner_.Token() == token; in Peek()
254 return (scanner_.IsUnsigned() && scanner_.AsUnsigned() == 0); in PeekForZero()
258 if (scanner_.Token() == token) { in Check()
259 scanner_.Next(); in Check()
267 if (scanner_.IsUnsigned() && scanner_.AsUnsigned() == 0) { in CheckForZero()
268 scanner_.Next(); in CheckForZero()
276 if (scanner_.IsDouble()) { in CheckForDouble()
277 *value = scanner_.AsDouble(); in CheckForDouble()
278 scanner_.Next(); in CheckForDouble()
[all …]
Dasm-parser.cc30 failure_location_ = static_cast<int>(scanner_.Position()); \
33 scanner_.Name(scanner_.Token()).c_str(), __FILE__, __LINE__); \
40 failure_location_ = static_cast<int>(scanner_.Position()); \
49 if (scanner_.Token() != token) { \
52 scanner_.Next(); \
76 scanner_(stream), in AsmJsParser()
262 const std::string& str = scanner_.GetIdentifierString(); in CopyCurrentIdentifierString()
271 } else if (!Peek('}') && !scanner_.IsPrecededByNewline()) { in SkipSemicolon()
283 size_t position = scanner_.Position(); in Loop()
391 if (!scanner_.IsGlobal()) { in ValidateModuleParameters()
[all …]
/third_party/ninja/src/
Dmissing_deps_test.cc33 scanner_(&delegate_, &deps_log_, &state_, &filesystem_) { in MissingDependencyScannerTest()
39 MissingDependencyScanner& scanner() { return scanner_; } in scanner()
88 MissingDependencyScanner scanner_; member
/third_party/node/deps/v8/src/parsing/
Dscanner.h219 : scanner_(scanner), in BookmarkScope()
222 DCHECK_NOT_NULL(scanner_); in BookmarkScope()
237 Scanner* scanner_; variable
Dscanner.cc76 scanner_->set_parser_error(); in Apply()
78 scanner_->reset_parser_error_flag(); in Apply()
79 scanner_->SeekNext(bookmark_); in Apply()
Dparser-base.h88 : scanner_(scanner), range_(range) { in SourceRangeScope()
96 range_->end = scanner_->location().end_pos; in ~SourceRangeScope()
101 const Scanner* scanner_;
264 scanner_(scanner), in ParserBase()
856 Scanner* scanner() const { return scanner_; } in scanner()
858 int position() const { return scanner_->location().beg_pos; } in position()
859 int peek_position() const { return scanner_->peek_location().beg_pos; } in peek_position()
860 int end_position() const { return scanner_->location().end_pos; } in end_position()
861 int peek_end_position() const { return scanner_->peek_location().end_pos; } in peek_end_position()
866 scanner_->set_parser_error(); in set_stack_overflow()
[all …]
Dparser.cc439 info->zone(), &scanner_, info->stack_limit(), in Parser()
445 scanner_(info->character_stream(), flags()), in Parser()
555 scanner_.Initialize(); in ParseProgram()
900 scanner_.Initialize(); in ParseFunction()
3360 Handle<String> source_url = scanner_.SourceUrl(isolate); in HandleSourceURLComments()
3364 Handle<String> source_mapping_url = scanner_.SourceMappingUrl(isolate); in HandleSourceURLComments()
3385 if (scanner_.FoundHtmlComment()) { in UpdateStatistics()
3406 if (scanner_.FoundHtmlComment()) { in UpdateStatistics()
3430 scanner_.Initialize(); in ParseOnBackground()
Dparser.h270 &preparser_zone_, &scanner_, stack_limit_, ast_value_factory(),
1079 Scanner scanner_;