|
1 | 1 | /** |
2 | 2 | * This library offers a view of preprocessor branches (`#if`, `#ifdef`, |
3 | | - * `#ifndef`, `#elif` and `#else`) as blocks of code between the opening and |
4 | | - * closing directives, with navigable parent-child relationships to other |
5 | | - * blocks. The main class is `PreprocessorBlock`. |
| 3 | + * `#ifndef`, `#elif`, `#elifdef`, `#elifndef`, and `#else`) as blocks of |
| 4 | + * code between the opening and closing directives, with navigable |
| 5 | + * parent-child relationships to other blocks. The main class is |
| 6 | + * `PreprocessorBlock`. |
6 | 7 | */ |
7 | 8 |
|
8 | 9 | import cpp |
@@ -32,10 +33,10 @@ private int getPreprocIndex(PreprocessorBranchDirective directive) { |
32 | 33 |
|
33 | 34 | /** |
34 | 35 | * A chunk of code from one preprocessor branch (`#if`, `#ifdef`, |
35 | | - * `#ifndef`, `#elif` or `#else`) to the directive that closes it |
36 | | - * (`#elif`, `#else` or `#endif`). The `getParent()` method |
37 | | - * allows these blocks to be navigated as a tree, with the root |
38 | | - * being the entire file. |
| 36 | + * `#ifndef`, `#elif`, `#elifdef`, `#elifndef`, or `#else`) to the |
| 37 | + * directive that closes it (`#elif`, `#elifdef`, `#elifndef`, `#else`, |
| 38 | + * or `#endif`). The `getParent()` method allows these blocks to be |
| 39 | + * navigated as a tree, with the root being the entire file. |
39 | 40 | */ |
40 | 41 | class PreprocessorBlock extends @element { |
41 | 42 | PreprocessorBlock() { |
|
0 commit comments