Zen-C
Loading...
Searching...
No Matches
codegen_main.c File Reference
#include "../ast/ast.h"
#include "../zprep.h"
#include "codegen.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for codegen_main.c:

Data Structures

struct  EmittedContent
 

Typedefs

typedef struct EmittedContent EmittedContent
 

Functions

void codegen_node (ParserContext *ctx, ASTNode *node, FILE *out)
 Generates code for a given AST node.
 

Typedef Documentation

◆ EmittedContent

Function Documentation

◆ codegen_node()

void codegen_node ( ParserContext ctx,
ASTNode node,
FILE *  out 
)

Generates code for a given AST node.

Parameters
ctxParser context.
nodeThe AST node to generate code for.
outOutput file stream.
Here is the call graph for this function:
Here is the caller graph for this function: