|
TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
|
Opaque identifier for a grammar rule. More...
#include </home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/types.h>
Public Member Functions | |
| RuleId (int value) | |
| Create a RuleId with the given value. | |
| bool | operator== (const RuleId &other) const |
| Equality comparison. | |
| bool | operator!= (const RuleId &other) const |
| Inequality comparison. | |
Public Attributes | |
| int | id |
| Internal rule identifier (positive for normal rules, negative for special rules) | |
Opaque identifier for a grammar rule.
RuleIds are small integers assigned during grammar compilation. They uniquely identify rules within a grammar for state tracking.
|
inlineexplicit |