Program execution starter 더 자세히 ...
#include <starter.hpp>
Public 타입 | |
| enum | logFlag3 { LOG_STRUCTURE = 1 << 7 , LOG_GRAPH_ON_EX = 1 << 8 } |
by::tworker< str, node >(으)로부터 상속된 Public 타입 | |
| enum | logFlag |
Public 멤버 함수 | |
| void | setArgs (const args &a) |
| void | setArgs (const args *it) BY_SIDE_FUNC(setArgs) |
| args & | getArgs () |
| const args &getArgs() const BY_CONST_FUNC(getArgs()) protected void | _prepare () override |
| Protected virtual method for preparation before starting the work. | |
by::tworker< str, node >(으)로부터 상속된 Public 멤버 함수 | |
| tworker (const errReport &rpt) | |
| errReport & | getReport () |
| const errReport & | getReport () const BY_CONST_FUNC(getReport()) me &setReport(errReport &rpt) |
| me & | setFlag (nint newFlag) |
| me & | addFlag (nint flag) |
| me & | delFlag (nint clear) |
| nbool | isFlag (nint flag) const |
| nint | getFlag () const |
| me & | setTask (const node &root) |
| me & | setTask (const node *it) BY_SIDE_FUNC(it |
| node * | getTask () |
| const node * | getTask () const BY_CONST_FUNC(getTask()) virtual void rel() |
| str | work () |
| const area & | getArea () const BY_CONST_FUNC(_getArea()) nbool isOk() const |
정적 Public 속성 | |
| static const std::string | MAIN = "main" |
추가로 상속된 멤버들 | |
by::tworker< str, node >(으)로부터 상속된 Public 속성 | |
| me setTask | it |
| me setTask * | this |
by::tworker< str, node >(으)로부터 상속된 Protected 멤버 함수 | |
| void | _report (baseErr *e) |
| virtual void | _onEndWork () |
| Protected virtual method called after the work is completed. | |
| virtual str | _onWork ()=0 |
| area & | _getArea () |
| void | _onEndErrReport (const errReport &rpt) const |
Program execution starter
A kind of worker that executes AST verified by verifier. If an exception occurs in is required to run an autopod during execution, it dumps logs and returns the exception. See worker for more details if unfamiliar with the worker concept.
The main function must meet the following conditions:
mainCan be used with interpreter to parse and execute byeol code.
|
overridevirtual |
Protected virtual method for preparation before starting the work.
This hook allows derived classes to perform any necessary setup or initialization before _onWork() is invoked.
by::tworker< str, node >(으)로부터 재구현되었습니다.