Purple  0.1
Standard Language Specification
Functions
declaration.c File Reference

Logic for declaration statements. More...

#include <string.h>
#include "data.h"
#include "parse.h"
#include "translate/llvm.h"
#include "translate/symbol_table.h"
Include dependency graph for declaration.c:

Functions

void variable_declaration (void)
 Parse a variable declaration statement into an AST. More...
 
ASTNodefunction_declaration (void)
 Parse a function declaration statement into an AST. More...
 

Detailed Description

Logic for declaration statements.

Author
Charles Averill
Date
19-Sep-2022

Function Documentation

◆ function_declaration()

ASTNode * function_declaration ( void  )

Parse a function declaration statement into an AST.

Returns
ASTNode*

◆ variable_declaration()

void variable_declaration ( void  )

Parse a variable declaration statement into an AST.