Syntax
#class
Purpose
A built-in counter shelf that provides the SGML error class:
- 0 for SGML information or warning messages.
- 1 for recoverable SGML errors.
- 2 for non-recoverable SGML errors.
This counter shelf can be accessed only from the header and body of sgml-error rules.
The is specified test is always true for #class because the error class is present in all SGML error messages.
#class also can be used as a pattern variable for compatibility with past releases. However, this use is deprecated. Unlike programmer-defined pattern variables, #class must always be heralded with the pattern keyword, even where heralding is usually optional.
|