Functional-lang  0.0
An example functional programming language
Public Member Functions | Protected Member Functions | List of all members
GCObj Class Reference

Garbage collection object (objects to collect). More...

#include <gc.hpp>

Inheritance diagram for GCObj:
Environment Expr AnyExpr AtomExpr BiOpExpr FunctionExpr IdExpr IfExpr IntExpr LambdaExpr LetExpr NumExpr UnOpExpr

Public Member Functions

 GCObj (GCMain &main) noexcept
 Initialize as not marked.
 
virtual bool isMarked (GCMain &main) const noexcept
 
virtual void mark (GCMain &main) noexcept
 If not marked mark itself and children.
 

Protected Member Functions

virtual void markSelf (GCMain &main)
 Marks itself.
 

Detailed Description

Garbage collection object (objects to collect).

Member Function Documentation

◆ isMarked()

virtual bool GCObj::isMarked ( GCMain &  main) const
virtualnoexcept
Returns
Returns true if marked, false if not.

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