Nearly CC
An educational compiler skeleton
Public Member Functions | List of all members
Member Class Reference

A parameter of a FunctionType or a field of a StructType. More...

#include "type.h"

Public Member Functions

 Member (const std::string &name, const std::shared_ptr< Type > &type)
 
const std::string & get_name () const
 
std::shared_ptr< Typeget_type () const
 

Detailed Description

A parameter of a FunctionType or a field of a StructType.

Member Function Documentation

◆ get_name()

const std::string & Member::get_name ( ) const
Returns
the member name

◆ get_type()

std::shared_ptr< Type > Member::get_type ( ) const
Returns
the member Type

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