Remove some unused imports
This commit is contained in:
parent
ab431c24dc
commit
66f7dcf28a
7 changed files with 8 additions and 13 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include "rule_transitions.h"
|
||||
#include "grammar.h"
|
||||
|
||||
using std::unordered_map;
|
||||
using std::map;
|
||||
using std::set;
|
||||
using std::dynamic_pointer_cast;
|
||||
using tree_sitter::rules::Symbol;
|
||||
|
|
@ -12,8 +12,8 @@ namespace tree_sitter {
|
|||
class Grammar;
|
||||
|
||||
namespace build_tables {
|
||||
unordered_map<Symbol, set<Symbol>> follow_sets(const ParseItem &item, const Grammar &grammar) {
|
||||
unordered_map<Symbol, set<Symbol>> result;
|
||||
map<Symbol, set<Symbol>> follow_sets(const ParseItem &item, const Grammar &grammar) {
|
||||
map<Symbol, set<Symbol>> result;
|
||||
|
||||
for (auto pair : sym_transitions(item.rule)) {
|
||||
auto symbol = *pair.first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue