DirectiveParsers
Parsers for all types of custom directives that can be used in templates or as inline or block elements in markup documents.
Type members
Classlikes
Represents the parsed but unprocessed content of a directive.
Represents the parsed but unprocessed content of a directive.
Represents one part of a directive (an attribute or a body element).
Represents one part of a directive (an attribute or a body element).
Types
Value members
Concrete methods
Parses a full directive declaration, containing all its attributes, but not the body elements.
Parses a full directive declaration, containing all its attributes, but not the body elements.
Parses one directive instance containing its name declaration, all attributes and all body elements.
Parses one directive instance containing its name declaration, all attributes and all body elements.
- Value parameters:
- bodyContent
the parser for the body content which is different for a block directive than for a span or template directive
- escapedText
the parser for escape sequences according to the rules of the host markup language
- supportsCustomFence
indicates whether the directive declaration allows the addition of a custom closing fence
Parses a HOCON-style reference enclosed between ${
and }
that may be marked as optional (${?some.param}
).
Parses a HOCON-style reference enclosed between ${
and }
that may be marked as optional (${?some.param}
).