Burp
|
#include <gmodule.h>
#include "syntax_tree.h"
#include "../game/commands.h"
#include "../game/robot.h"
#include "../game/arene.h"
Go to the source code of this file.
Data Structures | |
struct | warning_message |
Functions | |
struct warning_message * | getWarnings () |
void | freeWarnings () |
int | interprete (int line, Tree tree, arena *arena, robot *robot) |
char * | getLine (Tree tree, int line) |
void | printTree (Tree tree) |
void freeWarnings | ( | ) |
Free all Warnings
char* getLine | ( | Tree | tree, |
int | line | ||
) |
Return the command in a printable way of the command executed at line [ line ] with the syntax tree [ tree ]
struct warning_message* getWarnings | ( | ) |
Return a structure that contain every warnings found during last interpretation
interprete the line [ line ] of the script, corresponding at the file where come from the syntax tree [ tree ] controlling the robot [ robot ] in the context [ arena ]
void printTree | ( | Tree | tree | ) |
Print syntax tree [ tree ] (for debuging)