[−][src]Module sway_conf::ast
Represents the command tree.
Modules
bind |
Structs
BindSym | An expression describing a key binding. |
Err | A fatal error returned by the parser. |
Exec | An expression runs the specified arguments in a shell subprocess. |
Include | An expression symbolizing inclusion of config from other files. |
ResolvedInclude | A subtree from a successfully-included configuration file. |
RuntimeResolvable | An expression whose command must be resolved at runtime. |
SetVar | An expression which sets a variable to a specific value. |
SwitchMode | An expression symbolizing switching to a specific mode. |
Unknown | A line which was not understood by the parser. |
Enums
Item | Represents a sway command. This may not directly correspond to a line in the config, due to possible line continuations or blocks. |
Subset | An expression describing a subcommand or an unresolved set of tokens. |
TraversalError |
Functions
parse | Maps config stanzas into their more-detailed AST equivalents. |