Intern symbols during grammar preparation
This commit is contained in:
parent
33d781f492
commit
68d44fd565
67 changed files with 10829 additions and 10557 deletions
13
src/compiler/generate_code/token_description.h
Normal file
13
src/compiler/generate_code/token_description.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_
|
||||
#define COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_
|
||||
|
||||
#include <string>
|
||||
#include "tree_sitter/compiler.h"
|
||||
|
||||
namespace tree_sitter {
|
||||
namespace generate_code {
|
||||
std::string token_description(const rules::rule_ptr &);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // COMPILER_GENERATE_CODE_TOKEN_DESCRIPTION_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue