hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
tryCatchStmt Class Reference

#include <ast.hpp>

Inheritance diagram for tryCatchStmt:
Collaboration diagram for tryCatchStmt:

Public Attributes

codeBlocktryBlock
 
vec< catchParam * > catchParams
 
codeBlockfinallyBlock
 

Additional Inherited Members

- Public Member Functions inherited from AST
 AST ()
 
 AST (lexer::token token)
 
std::tuple< yoi::indexT, yoi::indexTgetLocation ()
 
yoi::indexT getLine ()
 
yoi::indexT getColumn ()
 
yoi::lexer::tokengetToken ()
 

Detailed Description

Definition at line 1061 of file ast.hpp.

Member Data Documentation

◆ catchParams

vec<catchParam *> catchParams

Definition at line 1064 of file ast.hpp.

Referenced by yoi::finalizeAST(), and Formatter::format().

◆ finallyBlock

codeBlock* finallyBlock

Definition at line 1065 of file ast.hpp.

Referenced by yoi::finalizeAST(), and Formatter::format().

◆ tryBlock

codeBlock* tryBlock

Definition at line 1063 of file ast.hpp.

Referenced by yoi::finalizeAST(), and Formatter::format().


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