declui.parser

Contains the pegged grammar to parse a DUI file.

Members

Enums

AttributeType
enum AttributeType

An enumeration of all possible types of attribute.

Functions

findCallbacks
string[] findCallbacks(Tag tag)

Finds all callbacks in for a given tag. Param: tag = The tag that should be searched for callbacks.

findIds
inout(Tag)[] findIds(Tag tag)

Gets a list of all tags with a given id. Param: tag = The tag that should be searched for ids.

parseDUI
Tag parseDUI()

Imports and parses a DUI script. Param: content = The content of the script.

parseDUIScript
Tag parseDUIScript()

Parses a DUI script.

Structs

Attribute
struct Attribute

A attribute of a tag. It contains an iddentifier and a value.

Tag
struct Tag

A tag in a DUI file.

Meta