Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_parser.cc75 explicit HloParser(absl::string_view str) : lexer_(str) {} in HloParser()
337 HloLexer lexer_; member in xla::__anonc071bf1f0111::HloParser
406 auto line_col = lexer_.GetLineAndColumn(loc); in Error()
412 error_lines.emplace_back(lexer_.GetLine(loc)); in Error()
421 return Error(lexer_.GetLoc(), msg); in TokenError()
425 lexer_.Lex(); in Run()
426 if (lexer_.GetKind() == TokKind::kw_HloModule) { in Run()
456 Error(lexer_.GetLoc(), in FindInstruction()
467 lexer_.GetLoc(), in FindInstruction()
480 if (lexer_.GetKind() != TokKind::kw_HloModule) { in ParseHloModule()
[all …]
/external/v8/src/torque/
Dearley-parser.h354 Symbol* Token(const std::string& s) { return lexer_.Token(s); } in Token()
355 Symbol* Pattern(PatternFunction pattern) { return lexer_.Pattern(pattern); } in Pattern()
356 void SetWhitespace(PatternFunction ws) { lexer_.SetWhitespace(ws); } in SetWhitespace()
461 Lexer& lexer() { return lexer_; } in lexer()
464 Lexer lexer_;
/external/fonttools/Lib/fontTools/voltLib/
Dparser.py36 self.lexer_ = Lexer(f.read(), path)
593 self.next_token_location_) = self.lexer_.next()
/external/fonttools/Lib/fontTools/feaLib/
Dparser.py49 self.lexer_ = lexerClass(featurefile)
167 _, content, location = self.lexer_.scan_anonymous_block(tag)
1614 self.next_token_location_) = next(self.lexer_)