5 #ifndef FORBCC_PARSER_H 6 #define FORBCC_PARSER_H 14 enum class keywords_idx_t {
15 MODULE, STRUCT, INTERFACE, NUM_KEYWORDS
19 extern const std::string keywords[];
22 extern const std::string direction_keywords[];
25 extern const std::string reserved_names[];
28 extern const int reserved_names_length;
37 explicit parser(
const std::string &filename) : filename(filename) {};
47 #endif //FORBCC_PARSER_H Parses an already pre-processed FORB IDL file and populates forbcc::module::global_module with all th...
Definition: parser.hpp:32
Definition: code_ostream.hpp:11
parser(const std::string &filename)
Creates a new parser with the given input file.
Definition: parser.hpp:37