by::interpreter Class Reference

High-level interpreter for byeol language. More...

#include <interpreter.hpp>

Inheritance diagram for by::interpreter:
by::worker< tstr< slot >, slot > by::typeProvidable by::clonable

Public Types

enum  logFlag2 { LOG_STRUCTURE = 1 << 7 , LOG_GRAPH_ON_EX = 1 << 8 }
 
- Public Types inherited from by::worker< tstr< slot >, slot >
enum  logFlag
 

Public Member Functions

me & addSupply (const srcSupply &supply)
 
me & relSupplies ()
 
nbool isParsed () const
 
nbool isVerified () const
 
nodegetSubPack ()
 
const nodegetSubPack () const BY_CONST_FUNC(getSubPack()) void rel() override
 
- Public Member Functions inherited from by::worker< tstr< slot >, slot >
errReportgetReport ()
 
const errReportgetReport () 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 slot &root)
 
me & setTask (const slot *it) BY_SIDE_FUNC(it
 
slotgetTask ()
 
const slotgetTask () const BY_CONST_FUNC(getTask()) virtual void rel()
 
tstr< slotwork ()
 
const areagetArea () const BY_CONST_FUNC(_getArea()) nbool isOk() const
 
- Public Member Functions inherited from by::typeProvidable
nbool operator== (const me &rhs) const
 
nbool operator!= (const me &rhs) const
 
virtual const typegetType () const =0
 
nbool isSub (const type &it) const
 
nbool isSub (const type *it) const BY_SIDE_FUNC(isSub)
 
nbool isSub (const me &it) const
 
nbool isSub (const me *it) const BY_SIDE_FUNC(isSub)
 
nbool isSuper (const type &it) const
 
nbool isSuper (const type *it) const BY_SIDE_FUNC(isSuper)
 
nbool isSuper (const me &it) const
 
nbool isSuper (const me *it) const BY_SIDE_FUNC(isSuper)
 
template<typename T >
nint isSub () const
 
template<typename T >
nint isSuper () const
 
template<typename T >
T * cast ()
 
template<typename T >
const T * cast () const BY_CONST_FUNC(cast< T >()) virtual void *cast(const type &to)
 
const void * cast (const type &to) const BY_CONST_FUNC(cast(to)) void *cast(const type *it) BY_SIDE_FUNC(cast)
 
- Public Member Functions inherited from by::clonable
virtual me * clone () const =0
 
virtual me * cloneDeep () const
 
virtual void onCloneDeep (const me &from)
 

Protected Member Functions

tstr< slot_onWork () override
 
- Protected Member Functions inherited from by::worker< tstr< slot >, slot >
virtual void _prepare ()
 
void _report (baseErr *e)
 
virtual void _onEndWork ()
 
area_getArea ()
 
void _onEndErrReport (const errReport &rpt) const
 

Additional Inherited Members

- Public Attributes inherited from by::worker< tstr< slot >, slot >
me setTask it
 
me setTask * this
 

Detailed Description

High-level interpreter for byeol language.

Coordinates parsing, expansion, and verification phases of interpretation. Manages the complete interpretation pipeline from source to executable slots.

Member Function Documentation

◆ _onWork()

tstr< slot > by::interpreter::_onWork ( )
overrideprotectedvirtual

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