Module sdlang.parser

Functions

Name Description
parseFile Returns root tag.
parseSource Returns root tag. The optional 'filename' parameter can be included
pullParseFile Parses an SDL document using StAX/Pull-style. Returns an InputRange with element type ParserEvent.
pullParseSource Parses an SDL document using StAX/Pull-style. Returns an InputRange with element type ParserEvent.

Structs

Name Description
AttributeEvent
FileEndEvent
FileStartEvent
TagEndEvent
TagStartEvent
ValueEvent

Aliases

Name Type Description
ParserEvent std.variant.VariantN!(104L,sdlang.parser.FileStartEvent,sdlang.parser.FileEndEvent,sdlang.parser.TagStartEvent,sdlang.parser.TagEndEvent,sdlang.parser.ValueEvent,sdlang.parser.AttributeEvent) The element of the InputRange returned by pullParseFile and pullParseSource:

Authors

Copyright

License