RflySimSDK v4.10
RflySimSDK说明文档
载入中...
搜索中...
未找到
lexer_base< BasicJsonType > 模板类 参考
类 lexer_base< BasicJsonType > 继承关系图:

Public 类型

enum class  token_type {
  uninitialized , literal_true , literal_false , literal_null ,
  value_string , value_unsigned , value_integer , value_float ,
  begin_array , begin_object , end_array , end_object ,
  name_separator , value_separator , parse_error , end_of_input ,
  literal_or_value
}
 token types for the parser 更多...

静态 Public 成员函数

JSON_HEDLEY_RETURNS_NON_NULL static JSON_HEDLEY_CONST const char * token_type_name (const token_type t) noexcept
 return name of values of type token_type (only used for errors)

成员枚举类型说明

◆ token_type

template<typename BasicJsonType>
enum class token_type
strong

token types for the parser

枚举值
uninitialized 

indicating the scanner is uninitialized

literal_true 

the true literal

literal_false 

the false literal

literal_null 

the null literal

value_string 

a string – use get_string() for actual value

value_unsigned 

an unsigned integer – use get_number_unsigned() for actual value

value_integer 

a signed integer – use get_number_integer() for actual value

value_float 

an floating point number – use get_number_float() for actual value

begin_array 

the character for array begin [

begin_object 

the character for object begin {

end_array 

the character for array end ]

end_object 

the character for object end }

name_separator 

the name separator :

value_separator 

the value separator ,

parse_error 

indicating a parse error

end_of_input 

indicating the end of the input buffer

literal_or_value 

a literal or the begin of a value (only for diagnostics)

成员函数说明

◆ token_type_name()

template<typename BasicJsonType>
JSON_HEDLEY_RETURNS_NON_NULL static JSON_HEDLEY_CONST const char * token_type_name ( const token_type t)
inlinestaticnoexcept

return name of values of type token_type (only used for errors)


该类的文档由以下文件生成: