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

#include <ast.hpp>

Inheritance diagram for codeBlock:
Collaboration diagram for codeBlock:

Public Member Functions

vec< inCodeBlockStmt * > & getStmts ()
 
- 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 ()
 

Public Attributes

vec< inCodeBlockStmt * > stmts
 
yoi::indexT endLine = 0
 
yoi::indexT endColumn = 0
 

Detailed Description

Definition at line 1021 of file ast.hpp.

Member Function Documentation

◆ getStmts()

vec< inCodeBlockStmt * > & getStmts ( )

Definition at line 471 of file ast.cpp.

Referenced by yoi::finalizeAST(), and visitor::visit().

Here is the caller graph for this function:

Member Data Documentation

◆ endColumn

yoi::indexT endColumn = 0

Definition at line 1026 of file ast.hpp.

Referenced by SymbolExtractor::visitFuncDef().

◆ endLine

yoi::indexT endLine = 0

Definition at line 1025 of file ast.hpp.

Referenced by SymbolExtractor::visitFuncDef().

◆ stmts

vec<inCodeBlockStmt *> stmts

Definition at line 1023 of file ast.hpp.

Referenced by Formatter::format(), and SymbolExtractor::visitFuncDef().


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