|
KiCad PCB EDA Suite
|
Record every source read through aEnvironment into aValues, including memo hits. More...
#include <text_eval_environment.h>
Public Member Functions | |
| SOURCE_SCOPE (ENVIRONMENT &aEnvironment, ENVIRONMENT::SOURCE_VALUES &aValues) | |
| ~SOURCE_SCOPE () | |
| SOURCE_SCOPE (const SOURCE_SCOPE &)=delete | |
| SOURCE_SCOPE & | operator= (const SOURCE_SCOPE &)=delete |
Private Attributes | |
| ENVIRONMENT & | m_environment |
| ENVIRONMENT::SOURCE_VALUES & | m_values |
| SOURCE_SCOPE * | m_previous |
Friends | |
| class | ENVIRONMENT |
Record every source read through aEnvironment into aValues, including memo hits.
Nested scopes each receive every read. Clock reads are recorded only while the environment is active. Scopes must be destroyed in reverse order and must not outlive the environment or the values.
Definition at line 134 of file text_eval_environment.h.
| TEXT_EVAL::SOURCE_SCOPE::SOURCE_SCOPE | ( | ENVIRONMENT & | aEnvironment, |
| ENVIRONMENT::SOURCE_VALUES & | aValues ) |
Definition at line 106 of file text_eval_environment.cpp.
References ENVIRONMENT, m_environment, m_previous, and m_values.
Referenced by operator=(), and SOURCE_SCOPE().
| TEXT_EVAL::SOURCE_SCOPE::~SOURCE_SCOPE | ( | ) |
Definition at line 115 of file text_eval_environment.cpp.
References m_environment, and m_previous.
|
delete |
References SOURCE_SCOPE().
|
delete |
References SOURCE_SCOPE().
|
friend |
Definition at line 144 of file text_eval_environment.h.
References ENVIRONMENT.
Referenced by ENVIRONMENT, and SOURCE_SCOPE().
|
private |
Definition at line 146 of file text_eval_environment.h.
Referenced by SOURCE_SCOPE(), and ~SOURCE_SCOPE().
|
private |
Definition at line 148 of file text_eval_environment.h.
Referenced by SOURCE_SCOPE(), and ~SOURCE_SCOPE().
|
private |
Definition at line 147 of file text_eval_environment.h.
Referenced by SOURCE_SCOPE().