Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::Repl Class Reference

Read-Eval-Print Loop for Phasor Programming Language. More...

#include <Repl.hpp>

Collaboration diagram for Phasor::Repl:
[legend]

Public Member Functions

 Repl (int argc, char *argv[], char *envp[])
int run ()

Private Member Functions

int runRepl ()
std::unique_ptr< VMcreateVm ()

Static Private Member Functions

static void runSourceString (const std::string &source, VM &vm)

Private Attributes

AppArgs m_args

Detailed Description

Read-Eval-Print Loop for Phasor Programming Language.

Definition at line 26 of file Repl.hpp.

Constructor & Destructor Documentation

◆ Repl()

Phasor::Repl::Repl ( int argc,
char * argv[],
char * envp[] )

Definition at line 20 of file Repl.cpp.

Member Function Documentation

◆ createVm()

std::unique_ptr< VM > Phasor::Repl::createVm ( )
private

Definition at line 50 of file Repl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

int Phasor::Repl::run ( )

Definition at line 25 of file Repl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runRepl()

int Phasor::Repl::runRepl ( )
private

Definition at line 30 of file Repl.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runSourceString()

void Phasor::Repl::runSourceString ( const std::string & source,
VM & vm )
staticprivate

Definition at line 37 of file Repl.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_args

AppArgs Phasor::Repl::m_args
private

Definition at line 38 of file Repl.hpp.


The documentation for this class was generated from the following files: