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

#include <ast.hpp>

Inheritance diagram for interfaceDefInnerPair:
Collaboration diagram for interfaceDefInnerPair:

Public Member Functions

identifierWithTypeSpecgetVar ()
 
innerMethodDeclgetMethod ()
 
bool isMethod ()
 
- 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

identifierWithTypeSpecvar
 
innerMethodDeclmethod
 

Detailed Description

Definition at line 641 of file ast.hpp.

Member Function Documentation

◆ getMethod()

innerMethodDecl & getMethod ( )

Definition at line 295 of file ast.cpp.

References interfaceDefInnerPair::method.

◆ getVar()

identifierWithTypeSpec & getVar ( )

Definition at line 287 of file ast.cpp.

References interfaceDefInnerPair::var.

◆ isMethod()

bool isMethod ( )

Definition at line 291 of file ast.cpp.

References interfaceDefInnerPair::var.

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

Here is the caller graph for this function:

Member Data Documentation

◆ method

innerMethodDecl* method

Definition at line 649 of file ast.hpp.

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

◆ var


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