[−][src]Crate nu_parser
Structs
LiteBlock | A |
LiteCommand | A |
LiteGroup | A |
LitePipeline | A |
Signature |
Traits
ParserScope | |
SignatureRegistry |
Functions
block | Try to parse a list of tokens into a block. |
classify_block | |
expand_ndots | |
garbage | Easy shorthand function to create a garbage expression at the given span |
lex | Breaks the input string into a vector of tokens. This tokenization only tries to classify separators like semicolons, pipes, etc from external bare values (values that haven't been classified further) Takes in a string and and offset, which is used to offset the spans created (for when this function is used to parse inner strings) |
parse | |
parse_full_column_path | Parses a column path, adding in the preceding reference to $it if it's elided |
parse_math_expression | Handle parsing math expressions, complete with working with the precedence of the operators |
shapes | Converts a series of commands into a vec of spanned shapes ready for color-highlighting |