topazc
AST::Argument Struct Reference

Structure for describing the argument (in function or method). More...

#include <ast.hpp>

Collaboration diagram for AST::Argument:

Public Member Functions

 Argument (std::string n, Type t)

Public Attributes

std::string name
Type type

Detailed Description

Structure for describing the argument (in function or method).

Definition at line 87 of file ast.hpp.

Constructor & Destructor Documentation

◆ Argument()

AST::Argument::Argument ( std::string n,
Type t )
inline

Definition at line 91 of file ast.hpp.

Member Data Documentation

◆ name

std::string AST::Argument::name

Name of argument

Definition at line 88 of file ast.hpp.

◆ type

Type AST::Argument::type

Type of argument

Definition at line 89 of file ast.hpp.


The documentation for this struct was generated from the following file:
  • /mnt/disk_ext4_0/topazlang/include/parser/ast.hpp