Line | Count | Source (jump to first uncovered line) |
1 | #include "osh.h" // for arith_parse | |
2 | ||
3 | // This code structure is odd because frontend/tdop.py would allow multiple | |
4 | // TDOP parser. Since we only have one, we just hard-code it in C++. | |
5 | ||
6 | namespace tdop { | |
7 | ||
8 | 0 | LeftInfo* ParserSpec::LookupLed(Id_t id) { |
9 | 0 | return &(arith_parse::kLeftLookup[id]); |
10 | 0 | } |
11 | ||
12 | 0 | NullInfo* ParserSpec::LookupNud(Id_t id) { |
13 | 0 | return &(arith_parse::kNullLookup[id]); |
14 | 0 | } |
15 | ||
16 | } // namespace tdop |