|
Functional-lang
0.0
An example functional programming language
|
Class for adding Expr's to stack frame of Environment. More...
#include <syntax.hpp>
Public Member Functions | |
| StackFrameObj (Environment &env, T *expr=nullptr) noexcept | |
| T * | operator -> () const noexcept |
| T * | operator * () const noexcept |
| bool | operator== (T *expr) const noexcept |
| bool | operator== (StackFrameObj< T > &obj) const noexcept |
| bool | operator != (T *expr) const noexcept |
| bool | operator != (StackFrameObj< T > &obj) const noexcept |
| StackFrameObj< T > & | operator= (T *expr) noexcept |
| StackFrameObj< T > & | operator= (StackFrameObj< T > &obj) noexcept |
| Assigns **this = *obj. Removes old expression from stack frame and adds *obj to stack frame. More... | |
| operator bool () const | |
Class for adding Expr's to stack frame of Environment.
Should only be created in stack not heap. The class adds an expression to stack frame on initialization or assignment and removes the expression from stack frame on deconstruction or if new expression assigned.
|
inlinenoexcept |
| expr |
|
inlinenoexcept |
| obj |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
| expr |
|
inlinenoexcept |
Assigns **this = *obj. Removes old expression from stack frame and adds *obj to stack frame.
| obj |
|
inlinenoexcept |
| expr |
|
inlinenoexcept |
1.8.15