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

Functions

ASTNodeparse_program_nodes (ParserContext *ctx, Lexer *l)
 Main loop to parse top-level nodes in a file.
 
ASTNodeparse_program (ParserContext *ctx, Lexer *l)
 Parses a program.
 

Function Documentation

◆ parse_program()

ASTNode * parse_program ( ParserContext ctx,
Lexer l 
)

Parses a program.

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

◆ parse_program_nodes()

ASTNode * parse_program_nodes ( ParserContext ctx,
Lexer l 
)

Main loop to parse top-level nodes in a file.

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