65 lines
1.6 KiB
C
65 lines
1.6 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 );
|
|
void programme (void);
|
|
void optDecVariables (void);
|
|
void listeDecVariables (void);
|
|
void listeDecVariablesBis (void);
|
|
void declarationVariable (void);
|
|
void optTailleTableau (void);
|
|
void listeDecFonctions (void);
|
|
void declarationFonction (void);
|
|
void listeParam (void);
|
|
void optListeDecVariables (void);
|
|
void instruction (void);
|
|
void instructionAffect (void);
|
|
void instructionBloc (void);
|
|
void listeInstructions (void);
|
|
void instructionSi (void);
|
|
void optSinon (void);
|
|
void instructionTantque (void);
|
|
void instructionAppel (void);
|
|
void instructionRetour (void);
|
|
void instructionEcriture (void);
|
|
void instructionPour (void);
|
|
void instructionVide (void);
|
|
void expression (void);
|
|
void expressionBis (void);
|
|
void conjonction (void);
|
|
void conjonctionBis (void);
|
|
void negation (void);
|
|
void comparaison (void);
|
|
void comparaisonBis (void);
|
|
void expression (void);
|
|
void expArith (void);
|
|
void expArithBis (void);
|
|
void terme (void);
|
|
void termeBis (void);
|
|
void facteur (void);
|
|
void var (void);
|
|
void optIndice (void);
|
|
void appelFct (void);
|
|
void listeExpressions (void);
|
|
void listeExpressionsBis (void);
|
|
|
|
|
|
#endif
|