Searched refs:tokenizer_ (Results 1 – 7 of 7) sorted by relevance
282 return std::to_string(tokenizer_->GetCurrentLine()) + ": " + err; in make_error()286 tokenizer_ = MakeUnique<Tokenizer>(data); in Parse()288 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse()289 token = tokenizer_->NextToken()) { in Parse()445 auto token = tokenizer_->NextToken(); in ValidateEndOfStatement()453 auto token = tokenizer_->NextToken(); in ParseShaderBlock()464 token = tokenizer_->NextToken(); in ParseShaderBlock()470 token = tokenizer_->NextToken(); in ParseShaderBlock()499 token = tokenizer_->PeekNextToken(); in ParseShaderBlock()501 tokenizer_->NextToken(); in ParseShaderBlock()[all …]
109 std::unique_ptr<Tokenizer> tokenizer_; variable
57 tokenizer_(MakeUnique<Tokenizer>(data)) { in CommandParser()58 tokenizer_->SetCurrentLine(current_line); in CommandParser()64 return std::to_string(tokenizer_->GetCurrentLine()) + ": " + err; in make_error()87 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse()88 token = tokenizer_->NextToken()) { in Parse()101 token = tokenizer_->NextToken(); in Parse()127 token = tokenizer_->NextToken(); in Parse()139 token = tokenizer_->NextToken(); in Parse()150 token = tokenizer_->NextToken(); in Parse()256 cmd->SetLine(tokenizer_->GetCurrentLine()); in ProcessDrawRect()[all …]
166 std::unique_ptr<Tokenizer> tokenizer_; variable
252 tokenizer_(input_stream, &tokenizer_error_collector_), in ParserImpl()266 tokenizer_.set_allow_f_after_float(true); in ParserImpl()269 tokenizer_.set_comment_style(io::Tokenizer::SH_COMMENT_STYLE); in ParserImpl()272 tokenizer_.set_require_space_after_number(false); in ParserImpl()273 tokenizer_.set_allow_multiline_strings(true); in ParserImpl()277 tokenizer_.Next(); in ParserImpl()343 ReportError(tokenizer_.current().line, tokenizer_.current().column, in ReportError()350 ReportWarning(tokenizer_.current().line, tokenizer_.current().column, in ReportWarning()388 int start_line = tokenizer_.current().line; in ConsumeField()389 int start_column = tokenizer_.current().column; in ConsumeField()[all …]
15 tokenizer_(span<uint8_t>(storage_->data(), storage_->size())) {} in DeserializerState()18 : storage_(std::move(storage)), tokenizer_(span) {} in DeserializerState()22 if (tokenizer_.Status().ok()) in RegisterError()23 status_ = Status{error, tokenizer_.Status().pos}; in RegisterError()45 if (!tokenizer_.Status().ok()) in status()46 return tokenizer_.Status(); in status()
43 cbor::CBORTokenizer* tokenizer() { return &tokenizer_; } in tokenizer()47 cbor::CBORTokenizer tokenizer_; variable