Files Classes Functions Hierarchy
#include <rawinterpreter.h>
Public Member Functions | |
| inputstatescope () | |
| ~inputstatescope () | |
| void | eval (string const &word) |
| void | setinner () |
| void | setouter () |
Public Attributes | |
| bool | evaloverride |
| bool | evalpreserved |
| bool | evalimmediate |
| bool | error |
| fdatainterp | fd |
Static Public Attributes | |
| static inputstatescope * | cscope = 0 |
| static inputstate * | cstate = 0 |
Definition at line 147 of file rawinterpreter.h.
| inputstatescope::inputstatescope | ( | ) |
Definition at line 369 of file rawinterpreter.cpp.
References cscope, error, evalimmediate, evaloverride, and setinner().
00370 { 00371 assert(cscope==0); // This is a singleton class. 00372 00373 inner = new innerinput(); 00374 outer = new outerinput(); 00375 error = false; 00376 evalimmediate = true; 00377 evaloverride=false; 00378 00379 cscope = this; 00380 00381 setinner(); 00382 }
| inputstatescope::~inputstatescope | ( | ) |
Definition at line 384 of file rawinterpreter.cpp.
References cstate.
00385 { 00386 delete inner; 00387 delete outer; 00388 cstate=0; 00389 }
| void inputstatescope::eval | ( | string const & | word | ) |
| void inputstatescope::setinner | ( | ) |
Definition at line 391 of file rawinterpreter.cpp.
References cstate.
Referenced by outerinput::eval(), and inputstatescope().
00392 { 00393 cstate = inner; 00394 }
| void inputstatescope::setouter | ( | ) |
Definition at line 396 of file rawinterpreter.cpp.
References cstate.
Referenced by innerinput::eval().
00397 { 00398 cstate = outer; 00399 }
inputstatescope * inputstatescope::cscope = 0 [static] |
Definition at line 153 of file rawinterpreter.h.
Referenced by stateevalquery::eval(), stateevalunset::eval(), stateevalset::eval(), fdatainterp::eval(), inputstatescope(), fbuild< F >::make(), and fbuilduser::make().
inputstate * inputstatescope::cstate = 0 [static] |
Definition at line 154 of file rawinterpreter.h.
Referenced by eval(), setinner(), setouter(), and ~inputstatescope().
Definition at line 158 of file rawinterpreter.h.
Referenced by stateevalunset::eval(), stateevalset::eval(), fdatainterp::eval(), and inputstatescope().
Definition at line 156 of file rawinterpreter.h.
Referenced by fdatainterp::eval(), and inputstatescope().
Definition at line 157 of file rawinterpreter.h.
Referenced by stateevalunset::eval(), stateevalset::eval(), and fdatainterp::eval().
Definition at line 168 of file rawinterpreter.h.
Referenced by outerinput::eval(), and innerinput::eval().
1.5.8