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

#include <ast.hpp>

Inheritance diagram for identifierWithDefTemplateArg:
Collaboration diagram for identifierWithDefTemplateArg:

Public Member Functions

identifiergetId () const
 
defTemplateArggetArg () const
 
bool hasDefTemplateArg () 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

identifierid
 
defTemplateArgarg
 

Detailed Description

Definition at line 373 of file ast.hpp.

Member Function Documentation

◆ getArg()

defTemplateArg & getArg ( ) const

Definition at line 83 of file ast.cpp.

References identifierWithDefTemplateArg::arg.

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

Here is the caller graph for this function:

◆ getId()

identifier & getId ( ) const

Definition at line 79 of file ast.cpp.

References identifierWithDefTemplateArg::id.

Referenced by visitor::specializeStructMethodDeclaration(), visitor::visit(), visitor::visit(), visitor::visit(), visitor::visit(), and visitor::visit().

Here is the caller graph for this function:

◆ hasDefTemplateArg()

Member Data Documentation

◆ arg

◆ id


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