• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rieske / trans / 29767047230

20 Jul 2026 06:16PM UTC coverage: 90.628% (+0.05%) from 90.582%
29767047230

push

github

web-flow
Merge pull request #48 from rieske/perf/parser/2-automaton

perf(parser): core-hash automaton and worklist closure

187 of 192 new or added lines in 7 files covered. (97.4%)

5212 of 5751 relevant lines covered (90.63%)

162489.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/parser/GeneratedParsingTable.h
1
#ifndef GENERATEDPARSINGTABLE_H_
2
#define GENERATEDPARSINGTABLE_H_
3

4
#include <string>
5

6
#include "parser/CanonicalCollection.h"
7
#include "parser/ParsingTable.h"
8

9
namespace parser {
10

11
class GeneratedParsingTable: public ParsingTable {
12
public:
13
    GeneratedParsingTable(const Grammar* grammar, AutomatonKind kind = AutomatonKind::LALR1);
NEW
14
    ~GeneratedParsingTable() override = default;
×
15

16
    void persistToFile(std::string fileName) const;
17

18
private:
19
    void computeActionTable(const CanonicalCollection& canonicalCollectionOfSetsOfItems);
20
    void computeGotoTable(const CanonicalCollection& canonicalCollectionOfSetsOfItems);
21
    void computeErrorActions(size_t stateCount);
22
};
23

24
} // namespace parser
25

26
#endif // GENERATEDPARSINGTABLE_H_
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc