hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
te_parser::state Struct Reference
Collaboration diagram for te_parser::state:
[legend]

Public Types

enum class  token_type {
  TOK_NULL , TOK_ERROR , TOK_END , TOK_SEP ,
  TOK_OPEN , TOK_CLOSE , TOK_NUMBER , TOK_VARIABLE ,
  TOK_FUNCTION , TOK_INFIX , TOK_STRING
}

Public Member Functions

 state (const char *expression, te_variable_flags varType, std::set< te_variable > &vars)

Public Attributes

const char * m_start {nullptr}
const char * m_next {nullptr}
token_type m_type {token_type::TOK_NULL}
te_variable_flags m_varType {TE_DEFAULT}
te_variant_type m_value
te_expr * context {nullptr}
bool m_appliedUnary {false}
size_t m_depth {0}
std::set< te_variable > & m_lookup

Detailed Description

Definition at line 1085 of file tinyexpr.h.

Member Enumeration Documentation

◆ token_type

enum class te_parser::state::token_type
strong
Enumerator
TOK_NULL 
TOK_ERROR 
TOK_END 
TOK_SEP 
TOK_OPEN 
TOK_CLOSE 
TOK_NUMBER 
TOK_VARIABLE 
TOK_FUNCTION 
TOK_INFIX 
TOK_STRING 

Definition at line 1086 of file tinyexpr.h.

Constructor & Destructor Documentation

◆ state()

te_parser::state::state ( const char * expression,
te_variable_flags varType,
std::set< te_variable > & vars )
inline

Definition at line 1101 of file tinyexpr.h.

Member Data Documentation

◆ context

te_expr* te_parser::state::context {nullptr}

Definition at line 1113 of file tinyexpr.h.

◆ m_appliedUnary

bool te_parser::state::m_appliedUnary {false}

Definition at line 1116 of file tinyexpr.h.

◆ m_depth

size_t te_parser::state::m_depth {0}

Definition at line 1118 of file tinyexpr.h.

◆ m_lookup

std::set<te_variable>& te_parser::state::m_lookup

Definition at line 1120 of file tinyexpr.h.

◆ m_next

const char* te_parser::state::m_next {nullptr}

Definition at line 1109 of file tinyexpr.h.

◆ m_start

const char* te_parser::state::m_start {nullptr}

Definition at line 1108 of file tinyexpr.h.

◆ m_type

token_type te_parser::state::m_type {token_type::TOK_NULL}

Definition at line 1110 of file tinyexpr.h.

◆ m_value

te_variant_type te_parser::state::m_value

Definition at line 1112 of file tinyexpr.h.

◆ m_varType

te_variable_flags te_parser::state::m_varType {TE_DEFAULT}

Definition at line 1111 of file tinyexpr.h.


The documentation for this struct was generated from the following file:
  • /home/runner/work/hummingbird/hummingbird/include/utils/tinyexpr.h