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

Functions

Typeparse_type_base (ParserContext *ctx, Lexer *l)
 Parses a type base.
 
Typeparse_type_formal (ParserContext *ctx, Lexer *l)
 Parses a type formal.
 
char * parse_type (ParserContext *ctx, Lexer *l)
 Parses a type.
 
char * parse_array_literal (ParserContext *ctx, Lexer *l, const char *st)
 Parses an array literal.
 
char * parse_tuple_literal (ParserContext *ctx, Lexer *l, const char *tn)
 Parses a tuple literal.
 
ASTNodeparse_embed (ParserContext *ctx, Lexer *l)
 Parses an embed.
 

Function Documentation

◆ parse_array_literal()

char * parse_array_literal ( ParserContext ctx,
Lexer l,
const char *  st 
)

Parses an array literal.

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

◆ parse_embed()

ASTNode * parse_embed ( ParserContext ctx,
Lexer l 
)

Parses an embed.

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

◆ parse_tuple_literal()

char * parse_tuple_literal ( ParserContext ctx,
Lexer l,
const char *  tn 
)

Parses a tuple literal.

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

◆ parse_type()

char * parse_type ( ParserContext ctx,
Lexer l 
)

Parses a type.

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

◆ parse_type_base()

Type * parse_type_base ( ParserContext ctx,
Lexer l 
)

Parses a type base.

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

◆ parse_type_formal()

Type * parse_type_formal ( ParserContext ctx,
Lexer l 
)

Parses a type formal.

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