15 #ifndef _execution_environment_h 16 #define _execution_environment_h 40 : function(func), filename(f), linenumber(l), params(p)
78 int linenumber ()
const;
83 void setLinenumber (
int line);
88 const string& filename()
const;
93 void setFilename (
const string & filename);
98 YStatementPtr statement ()
const;
103 void setStatement (YStatementPtr s);
108 bool endlessRecursion ();
116 void pushframe (YECallPtr called_function,
YCPValue params[]);
137 CallStack callstack()
const;
string filename
Definition: ExecutionEnvironment.h:35
int m_linenumber
Definition: ExecutionEnvironment.h:59
~ExecutionEnvironment()
Definition: ExecutionEnvironment.h:73
vector< const CallFrame * > CallStack
Definition: ExecutionEnvironment.h:56
YCPValue * params
Definition: ExecutionEnvironment.h:37
size_t m_recursion_limit
Definition: ExecutionEnvironment.h:69
loglevel_t
Definition: liby2util-r/src/include/y2util/y2log.h:23
Definition: ExecutionEnvironment.h:53
int linenumber
Definition: ExecutionEnvironment.h:36
CallFrame(const string &f, int l, YECallPtr func, YCPValue *p)
Definition: ExecutionEnvironment.h:39
YStatementPtr m_statement
Definition: ExecutionEnvironment.h:62
ExecutionEnvironment ee
Definition: ExecutionEnvironment.cc:29
enters the component to the broker s list in the given order Y2Component int level
Definition: componentcreator.txt:21
string m_filename
Definition: ExecutionEnvironment.h:60
Wrapper for YCPValueRep This class realizes an automatic memory management via YCPElement. Access the functionality of YCPValueRep with the arrow operator. See YCPValueRep.
Definition: YCPValue.h:275
Function and source location, for backtraces.
Definition: ExecutionEnvironment.h:33
CallStack m_backtrace
Definition: ExecutionEnvironment.h:63
bool m_forced_filename
Definition: ExecutionEnvironment.h:61