Zen-C
Loading...
Searching...
No Matches
Instantiation Struct Reference

Tracks a concrete instantiation of a generic template. More...

#include <parser.h>

Collaboration diagram for Instantiation:

Data Fields

char * name
 Mangled name of the instantiation (e.g. "Vec_int").
 
char * template_name
 Original template name (e.g. "Vec").
 
char * concrete_arg
 Concrete type argument string.
 
char * unmangled_arg
 Unmangled argument for substitution code.
 
ASTNodestruct_node
 The AST node of the instantiated struct.
 
struct Instantiationnext
 

Detailed Description

Tracks a concrete instantiation of a generic template.

Field Documentation

◆ concrete_arg

char* Instantiation::concrete_arg

Concrete type argument string.

◆ name

char* Instantiation::name

Mangled name of the instantiation (e.g. "Vec_int").

◆ next

struct Instantiation* Instantiation::next

◆ struct_node

ASTNode* Instantiation::struct_node

The AST node of the instantiated struct.

◆ template_name

char* Instantiation::template_name

Original template name (e.g. "Vec").

◆ unmangled_arg

char* Instantiation::unmangled_arg

Unmangled argument for substitution code.


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