Go to the documentation of this file.
37 #ifndef GOOGLE_PROTOBUF_IO_TOKENIZER_H__
38 #define GOOGLE_PROTOBUF_IO_TOKENIZER_H__
45 #include <google/protobuf/port_def.inc>
51 class ZeroCopyInputStream;
142 const Token& current();
245 require_space_after_number_ = require;
251 allow_multiline_strings_ = allow;
293 static const int kTabWidth = 8;
305 inline void StopRecording();
309 inline void StartToken();
313 inline void EndToken();
328 void ConsumeString(
char delimiter);
336 TokenType ConsumeNumber(
bool started_with_zero,
bool started_with_dot);
360 NextCommentStatus TryConsumeCommentStart();
372 template <
typename CharacterClass>
373 inline bool LookingAt();
378 template <
typename CharacterClass>
379 inline bool TryConsumeOne();
382 inline bool TryConsume(
char c);
385 template <
typename CharacterClass>
386 inline void ConsumeZeroOrMore();
391 template <
typename CharacterClass>
392 inline void ConsumeOneOrMore(
const char*
error);
410 #include <google/protobuf/port_undef.inc>
412 #endif // GOOGLE_PROTOBUF_IO_TOKENIZER_H__
const Descriptor::ReservedRange value
bool require_space_after_number_
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
void set_require_space_after_number(bool require)
void set_comment_style(CommentStyle style)
void set_allow_multiline_strings(bool allow)
GLsizei const GLchar *const * string
virtual void AddWarning(int line, ColumnNumber column, const std::string &message)
void AddError(const std::string &message)
const char * prev_trailing_comments
const char * detached_comments[10]
static void ParseStringAppend(const std::string &text, std::string *output)
MockErrorCollector error_collector_
static void ParseString(const std::string &text, std::string *output)
CommentStyle comment_style_
void set_allow_f_after_float(bool value)
def ParseInteger(text, is_signed=False, is_long=False)
bool allow_f_after_float_
std::string * record_target_
GLsizei const GLfloat * value
const upb_json_parsermethod const upb_symtab upb_sink * output
ErrorCollector * error_collector_
ZeroCopyInputStream * input_
const char * next_leading_comments
GLenum GLuint GLenum GLsizei const GLchar * message
bool allow_multiline_strings_
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:00