NewLang Project
Yet another programm language
Loading...
Searching...
No Matches
newlang::LatterType Class Reference

#include <context.h>

Inheritance diagram for newlang::LatterType:

Public Member Functions

 LatterType (VariablePair *pair=nullptr)
 
 LatterType (const VariablePair pair)
 
 LatterType (VariablePair &pair)
 
VariablePairGetVariablePair (bool editable=false)
 
 operator bool ()
 
LatterTypeoperator= (const VariablePair var)
 

Static Public Member Functions

template<typename D >
static LatterType Create (TermPtr term, D d)
 

Detailed Description

Definition at line 52 of file context.h.

Constructor & Destructor Documentation

◆ LatterType() [1/3]

newlang::LatterType::LatterType ( VariablePair * pair = nullptr)
inline

Definition at line 55 of file context.h.

Referenced by Create().

◆ LatterType() [2/3]

newlang::LatterType::LatterType ( const VariablePair pair)
inlineexplicit

Definition at line 58 of file context.h.

◆ LatterType() [3/3]

newlang::LatterType::LatterType ( VariablePair & pair)
inlineexplicit

Definition at line 61 of file context.h.

Member Function Documentation

◆ Create()

template<typename D >
static LatterType newlang::LatterType::Create ( TermPtr term,
D d )
inlinestatic

Definition at line 65 of file context.h.

References LatterType().

Referenced by newlang::Context::EvalLeftVars_(), and newlang::Context::EvalTerm().

◆ GetVariablePair()

◆ operator bool()

newlang::LatterType::operator bool ( )
inline

Definition at line 81 of file context.h.

◆ operator=()

LatterType & newlang::LatterType::operator= ( const VariablePair var)
inline

Definition at line 92 of file context.h.


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