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

#include <ast.hpp>

Inheritance diagram for implInnerPair:
Collaboration diagram for implInnerPair:

Public Member Functions

constructorDefgetConstructor ()
 
innerMethodDefgetMethod ()
 
finalizerDefgetFinalizer ()
 
bool isConstructor () const
 
bool isFinalizer () const
 
bool isMethod () const
 
- 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

constructorDefcon
 
innerMethodDefmet
 
finalizerDeffinalizer
 

Detailed Description

Definition at line 723 of file ast.hpp.

Member Function Documentation

◆ getConstructor()

constructorDef & getConstructor ( )

Definition at line 343 of file ast.cpp.

References implInnerPair::con.

Referenced by visitor::specializeStructMethodDefinition().

Here is the caller graph for this function:

◆ getFinalizer()

finalizerDef & getFinalizer ( )

Definition at line 1205 of file ast.cpp.

References implInnerPair::finalizer.

◆ getMethod()

innerMethodDef & getMethod ( )

Definition at line 347 of file ast.cpp.

References implInnerPair::met.

Referenced by visitor::handleInvocationExtern(), visitor::specializeStructMethodDefinition(), and visitor::specializeStructMethodTemplate().

Here is the caller graph for this function:

◆ isConstructor()

bool isConstructor ( ) const

Definition at line 351 of file ast.cpp.

References implInnerPair::con.

Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::isMethod(), and visitor::specializeStructMethodDefinition().

Here is the caller graph for this function:

◆ isFinalizer()

bool isFinalizer ( ) const

Definition at line 1201 of file ast.cpp.

References implInnerPair::finalizer.

Referenced by yoi::finalizeAST(), Formatter::format(), implInnerPair::isMethod(), and visitor::specializeStructMethodDefinition().

Here is the caller graph for this function:

◆ isMethod()

bool isMethod ( ) const

Definition at line 1197 of file ast.cpp.

References implInnerPair::isConstructor(), and implInnerPair::isFinalizer().

Referenced by Formatter::format().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ con

◆ finalizer

◆ met

Definition at line 728 of file ast.hpp.

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


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