Skip to main content

Module ast

Module ast 

Source
Expand description

Lossless parse tree for SSH config files.

Preserves whitespace, = separators, comments, and blank lines. Every byte of the original file is representable.

Structs§

ConfigAst
Top-level SSH config AST.
DirectiveData
Data carried by a ConfigNode::Directive.
HostBlockData
Data carried by a ConfigNode::HostBlock.
MatchBlockData
Data carried by a ConfigNode::MatchBlock.

Enums§

ConfigNode
A single node in the SSH config AST.
Separator
Separator between a keyword and its value.

Functions§

parse
Parse an SSH config file string into a lossless AST.