Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_parser.cc204 explicit HloParserImpl(absl::string_view str) : lexer_(str) {} in HloParserImpl()
507 HloLexer lexer_; member in xla::__anon8590f6b60111::HloParserImpl
576 auto line_col = lexer_.GetLineAndColumn(loc); in Error()
582 error_lines.emplace_back(lexer_.GetLine(loc)); in Error()
591 return Error(lexer_.GetLoc(), msg); in TokenError()
595 lexer_.Lex(); in Run()
596 if (lexer_.GetKind() == TokKind::kw_HloModule) { in Run()
627 Error(lexer_.GetLoc(), in FindInstruction()
638 lexer_.GetLoc(), in FindInstruction()
655 while (lexer_.GetKind() != TokKind::kRbrace) { in ParseShapeIndex()
[all …]
/external/libtextclassifier/native/utils/grammar/parsing/
Dlexer_test.cc58 lexer_(unilib_.get()) {}
63 lexer_.AppendTokenSymbols(token.value, token.start, in SymbolsForTokens()
72 Lexer lexer_; member in libtextclassifier3::grammar::__anonf351c2030111::LexerTest
Dparser.h69 const Lexer lexer_; variable
Dparser.cc57 lexer_(unilib), in Parser()
122 lexer_.AppendTokenSymbols(token.value, /*match_offset=*/match_offset, in SortedSymbolsForInput()
/external/deqp-deps/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());
/external/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());
/external/fonttools/Lib/fontTools/voltLib/
Dparser.py44 self.lexer_ = Lexer(data, filename)
603 self.next_token_location_) = self.lexer_.next()
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py74 self.lexer_ = lexerClass(featurefile, includeDir=includeDir)
212 _, content, location = self.lexer_.scan_anonymous_block(tag)
2130 ) = next(self.lexer_)