Module tag_parser

Source
Expand description

This module provides a parser to interpret the annotated tags of a specification as a custom type.

Each parser should implement the TagParser trait. The main entry points for applying the parser is the RtLolaMir::parse_tags method, which receives a list of parsers and returns a list of parse results. The RtLolaMir::validate_tags method allows for validating that all annotated tags are validated by any parser. This allows for typos to be detected.

Modules§

all
Contains tag validators accepting all tags or no tags at all
verbosity_parser
Contains tag parser and validators to support verbosity and debug tags in the specification to use by backends for logging purposes.

Structs§

ParseResult
The result after applying a TagParser to a specification

Traits§

TagParser
Represents a parser supporting a subset of all tags annotated to the specification
TagValidator
Specifies for a TagParser the tag-keys that are validated by the Parser. All other keys are ignored.