Files
compilateur-l/header/analyseur_syntaxyque.h
2016-03-06 22:47:07 +01:00

66 lines
1.7 KiB
C

#ifndef __ANALYSEUR_SYNTAXYQUE__
#define __ANALYSEUR_SYNTAXYQUE__
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "symboles.h"
#include "util.h"
#include "stdio.h"
#include "analyseur_lexical.h"
#include "premiers.h"
#include "suivants.h"
#include "syntabs.h"
#include "affiche_arbre_abstrait.h"
void openSection ( const char * section );
void closeSection ( const char * section );
void elementConsome ();
void syntaxError (void);
void syntaxErrorMsg( const char * msg );
n_prog *programme (void);
n_l_dec *optDecVariables (void);
n_l_dec *listeDecVariables (void);
n_l_dec *listeDecVariablesBis (void);
n_dec *declarationVariable (void);
int optTailleTableau (void);
n_l_dec *listeDecFonctions (void);
n_dec *declarationFonction (void);
n_l_dec *listeParam (void);
n_l_dec *optListeDecVariables (void);
n_instr *instruction (void);
n_instr *instructionAffect (void);
n_instr *instructionBloc (void);
n_l_instr *listeInstructions (void);
n_instr *instructionSi (void);
n_instr *optSinon (void);
n_instr *instructionTantque (void);
n_instr *instructionAppel (void);
n_instr *instructionRetour (void);
n_instr *instructionEcriture (void);
n_instr *instructionPour (void);
n_instr *instructionVide (void);
n_exp *expression (void);
n_exp *expressionBis (n_exp *herite);
n_exp *conjonction (void);
n_exp *conjonctionBis(n_exp *herite);
n_exp *negation (void);
n_exp *comparaison (void);
n_exp *comparaisonBis (n_exp *herite);
n_exp *expression (void);
n_exp *expArith (void);
n_exp *expArithBis(n_exp *herite);
n_exp *terme (void);
n_exp *termeBis(n_exp *herite);
n_exp *facteur (void);
n_var *var (void);
n_exp *optIndice (void);
n_appel *appelFct (void);
n_l_exp *listeExpressions (void);
n_l_exp *listeExpressionsBis ();
#endif