JSON Voorhees
Killer JSON for C++
Loading...
Searching...
No Matches
jsonv::ast_node::base< TSelf, KIndexToken > Class Template Reference
+ Inheritance diagram for jsonv::ast_node::base< TSelf, KIndexToken >:

Public Member Functions

string_view token_raw () const
 
 operator ast_node () const
 Allow implicit conversion to the more generic ast_node.
 

Static Public Member Functions

static constexpr ast_node_type type ()
 Get the ast_node_type type.
 

Protected Member Functions

constexpr base (const char *token_begin)
 

Detailed Description

template<typename TSelf, ast_node_type KIndexToken>
class jsonv::ast_node::base< TSelf, KIndexToken >

Definition at line 163 of file ast.hpp.

Constructor & Destructor Documentation

◆ base()

template<typename TSelf , ast_node_type KIndexToken>
constexpr jsonv::ast_node::base< TSelf, KIndexToken >::base ( const char token_begin)
inlineexplicitconstexprprotected

Definition at line 182 of file ast.hpp.

Member Function Documentation

◆ operator ast_node()

template<typename TSelf , ast_node_type KIndexToken>
jsonv::ast_node::base< TSelf, KIndexToken >::operator ast_node ( ) const

Allow implicit conversion to the more generic ast_node.

Definition at line 506 of file ast.hpp.

◆ token_raw()

template<typename TSelf , ast_node_type KIndexToken>
string_view jsonv::ast_node::base< TSelf, KIndexToken >::token_raw ( ) const
inline
See also
ast_node::token_raw

Definition at line 173 of file ast.hpp.

◆ type()

template<typename TSelf , ast_node_type KIndexToken>
static constexpr ast_node_type jsonv::ast_node::base< TSelf, KIndexToken >::type ( )
inlinestaticconstexpr

Get the ast_node_type type.

Definition at line 167 of file ast.hpp.


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