Class that starts Brain, it has all the needed components to initialize the Brain interpreter.
More...
#include <Bootstrap.h>
|
int | init (int argc, char **argv) |
| Initializes Brain by passing the arguments to be handled and parsing the source file. More...
|
|
Class that starts Brain, it has all the needed components to initialize the Brain interpreter.
int Bootstrap::init |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Initializes Brain by passing the arguments to be handled and parsing the source file.
- Parameters
-
argc | The integer representing how many arguments were passed. |
argv | The array of characters representing the arguments passed. |
Returns the instance of Bootstrap class if the member _instance is nullptr, otherwise it creates a new Bootstrap object and returns it.
- Returns
- A pointer to the Bootstrap instance.
The documentation for this class was generated from the following files: