Home
last modified time | relevance | path

Searched refs:lexer_ (Results 1 – 11 of 11) sorted by relevance

/third_party/ninja/src/
Ddyndep_parser.cc33 lexer_.Start(filename, input); in Parse()
40 Lexer::Token token = lexer_.ReadToken(); in Parse()
44 return lexer_.Error("expected 'ninja_dyndep_version = ...'", err); in Parse()
50 lexer_.UnreadToken(); in Parse()
52 return lexer_.Error(string("unexpected ") + Lexer::TokenName(token), in Parse()
60 return lexer_.Error(lexer_.DescribeLastError(), err); in Parse()
63 return lexer_.Error("expected 'ninja_dyndep_version = ...'", err); in Parse()
68 return lexer_.Error(string("unexpected ") + Lexer::TokenName(token), in Parse()
81 return lexer_.Error("expected 'ninja_dyndep_version = ...'", err); in ParseDyndepVersion()
87 return lexer_.Error( in ParseDyndepVersion()
[all …]
Dmanifest_parser.cc35 lexer_.Start(filename, input); in Parse()
38 Lexer::Token token = lexer_.ReadToken(); in Parse()
57 lexer_.UnreadToken(); in Parse()
79 return lexer_.Error(lexer_.DescribeLastError(), err); in Parse()
86 return lexer_.Error(string("unexpected ") + Lexer::TokenName(token), in Parse()
96 if (!lexer_.ReadIdent(&name)) in ParsePool()
97 return lexer_.Error("expected pool name", err); in ParsePool()
103 return lexer_.Error("duplicate pool '" + name + "'", err); in ParsePool()
107 while (lexer_.PeekToken(Lexer::INDENT)) { in ParsePool()
117 return lexer_.Error("invalid pool depth", err); in ParsePool()
[all …]
Dparser.cc43 Lexer::Token token = lexer_.ReadToken(); in ExpectToken()
48 return lexer_.Error(message, err); in ExpectToken()
Dparser.h42 Lexer lexer_; member
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dparser.js27 this.lexer_ = lexer;
36 return this.peek_.shift() || this.lexer_.next();
41 this.peek_.push(this.lexer_.next());
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dparser.js27 this.lexer_ = lexer;
36 return this.peek_.shift() || this.lexer_.next();
41 this.peek_.push(this.lexer_.next());
/third_party/spirv-tools/tools/sva/src/
Dparser.js27 this.lexer_ = lexer;
36 return this.peek_.shift() || this.lexer_.next();
41 this.peek_.push(this.lexer_.next());
/third_party/boost/libs/wave/samples/list_includes/lexertl/
Dlexertl_lexer.hpp598 lexer_.init_dfa(language, pos_); in lexertl_functor()
605 lexer_.save(os); in lexertl_functor()
613 if (lexer_.is_initialized() && !at_eof) { in get()
618 wave::token_id id = lexer_.next_token(first, last, token_val); in get()
753 static lexer::lexertl<iterator_type, Position> lexer_; member in boost::wave::cpplexer::lexertl::lexertl_functor
759 lexertl_functor<Iterator, Position>::lexer_; member in boost::wave::cpplexer::lexertl::lexertl_functor<Iterator, Position>
/third_party/boost/libs/wave/samples/token_statistics/xlex/
Dxlex_lexer.hpp524 : lexer_(first, last, pos, language) in xlex_functor()
529 token_type& get(token_type& t) BOOST_OVERRIDE { return lexer_.get(t); } in get()
530 void set_position(Position const &pos) BOOST_OVERRIDE { lexer_.set_position(pos); } in set_position()
534 { return lexer_.has_include_guards(guard_name); } in has_include_guards()
538 lexer<Iterator, Position> lexer_; member in boost::wave::cpplexer::xlex::lexer::xlex_functor
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.h878 std::unique_ptr<Lexer> lexer_; variable
Dparser_impl.cc264 : lexer_(std::make_unique<Lexer>(file->path, &file->content)) {} in ParserImpl()
307 last_token_ = lexer_->next(); in next()
313 token_queue_.push_back(lexer_->next()); in peek()