@@ -16,20 +16,23 @@ This chapter provides a plain reference for the XRLint Python API.
1616- The ` config ` module provides classes that represent
1717 configuration information and provide related functionality:
1818 [ Config] [ xrlint.config.Config ] and [ ConfigList] [ xrlint.config.ConfigList ] .
19- - The ` rule ` module provides rule related classes:
19+ - The ` rule ` module provides rule related classes and functions :
2020 [ Rule] [ xrlint.rule.Rule ] comprising rule metadata
2121 [ RuleMeta] [ xrlint.rule.RuleMeta ] and the rule operation
2222 [ RuleOp] [ xrlint.rule.RuleOp ] , as well as related to the latter
2323 [ RuleContext] [ xrlint.rule.RuleContext ] and [ RuleExit] [ xrlint.rule.RuleExit ] .
24+ Decorator [ define_rule] [ xrlint.rule.define_rule ] allows defining rules.
2425- The ` node ` module defines the nodes passed to [ xrlint.rule.RuleOp] :
2526 base classes [ None] [ xrlint.node.Node ] , [ XarrayNode] [ xrlint.node.XarrayNode ]
2627 and the specific [ DatasetNode] [ xrlint.node.DatasetNode ] ,
2728 [ DataArray] [ xrlint.node.DataArrayNode ] , [ AttrsNode] [ xrlint.node.AttrsNode ] ,
2829 and [ AttrNode] [ xrlint.node.AttrNode ] nodes.
29- - The ` processor ` module provides processor related classes:
30+ - The ` processor ` module provides processor related classes and functions :
3031 [ Processor] [ xrlint.processor.Processor ] comprising processor metadata
3132 [ ProcessorMeta] [ xrlint.processor.ProcessorMeta ]
3233 and the processor operation [ ProcessorOp] [ xrlint.processor.ProcessorOp ] .
34+ Decorator [ define_processor] [ xrlint.processor.define_processor ] allows defining
35+ processors.
3336- The ` result ` module provides data classes that are used to
3437 represent validation results:
3538 [ Result] [ xrlint.result.Result ] composed of [ Messages] [ xrlint.result.Message ] ,
@@ -51,6 +54,8 @@ Note: the `xrlint.all` convenience module exports all of the above from a
5154
5255::: xrlint.config.ConfigList
5356
57+ ::: xrlint.rule.define_rule
58+
5459::: xrlint.rule.Rule
5560
5661::: xrlint.rule.RuleMeta
@@ -77,6 +82,8 @@ Note: the `xrlint.all` convenience module exports all of the above from a
7782
7883::: xrlint.plugin.PluginMeta
7984
85+ ::: xrlint.processor.define_processor
86+
8087::: xrlint.processor.Processor
8188
8289::: xrlint.processor.ProcessorMeta
0 commit comments