Reflection for RapidJSON 0.0.17
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl Struct Reference

The RetrieveIntegerLiteralFromDeclaratorDecl struct is used to traverse a variable declaration to get the integer value. More...

Inheritance diagram for ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl:
[legend]
Collaboration diagram for ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl:
[legend]

Public Member Functions

 RetrieveIntegerLiteralFromDeclaratorDecl (const clang::ASTContext &ctx)
 Constructs a new instance for the specified AST context.
bool VisitStmt (clang::Stmt *st)
 Reads the integer value of st for integer literals.

Public Attributes

const clang::ASTContext & ctx
std::uint64_t res
bool success

Detailed Description

The RetrieveIntegerLiteralFromDeclaratorDecl struct is used to traverse a variable declaration to get the integer value.

Definition at line 65 of file binaryserializationcodegenerator.cpp.

Constructor & Destructor Documentation

◆ RetrieveIntegerLiteralFromDeclaratorDecl()

ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl::RetrieveIntegerLiteralFromDeclaratorDecl ( const clang::ASTContext & ctx)
explicit

Constructs a new instance for the specified AST context.

Definition at line 74 of file binaryserializationcodegenerator.cpp.

Member Function Documentation

◆ VisitStmt()

bool ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl::VisitStmt ( clang::Stmt * st)

Reads the integer value of st for integer literals.

Definition at line 82 of file binaryserializationcodegenerator.cpp.

Member Data Documentation

◆ ctx

const clang::ASTContext& ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl::ctx

Definition at line 68 of file binaryserializationcodegenerator.cpp.

◆ res

std::uint64_t ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl::res

Definition at line 69 of file binaryserializationcodegenerator.cpp.

◆ success

bool ReflectiveRapidJSON::RetrieveIntegerLiteralFromDeclaratorDecl::success

Definition at line 70 of file binaryserializationcodegenerator.cpp.


The documentation for this struct was generated from the following file: