Docs.rs
  • nu-parser-0.77.0
    • nu-parser 0.77.0
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • github:nushell:publishing
    • sophiajt
    • Dependencies
      • bytesize ^1.2.0 normal
      • chrono ^0.4.23 normal
      • itertools ^0.10 normal
      • log ^0.4 normal
      • miette ^5.5.0 normal
      • nu-engine ^0.77.0 normal
      • nu-path ^0.77.0 normal
      • nu-plugin ^0.77.0 normal
      • nu-protocol ^0.77.0 normal
      • serde_json ^1.0 normal
      • thiserror ^1.0.31 normal
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate nu_parser

  • Version 0.77.0
  • All Items
  • Structs
  • Enums
  • Constants
  • Functions
?
Change settings

Crate nu_parser

source ·

Structs

  • KnownExternal
  • LiteBlock
  • Token

Enums

  • FlatShape
  • LiteElement
  • ParseError
  • TokenContents

Constants

  • ALIASABLE_PARSER_KEYWORDS
    These parser keywords can be aliased
  • UNALIASABLE_PARSER_KEYWORDS
    These parser keywords cannot be aliased (either not possible, or support not yet added)

Functions

  • escape_for_script_arg
  • escape_quote_string
  • find_in_dirs
    This helper function is used to find files during parsing
  • flatten_block
  • flatten_expression
  • flatten_pipeline
  • flatten_pipeline_element
  • is_math_expression_like
  • is_unaliasable_parser_keyword
    Check whether spans start with a parser keyword that can be aliased
  • lex
  • lite_parse
  • parse
  • parse_alias
  • parse_block
  • parse_def
  • parse_def_predecl
  • parse_duration_bytes
  • parse_export_env
  • parse_export_in_block
  • parse_export_in_module
  • parse_expression
  • parse_extern
  • parse_external_call
  • parse_for
  • parse_hide
  • parse_keyword
    This is a new more compact method of calling parse_xxx() functions without repeating the parse_call() in each function. Remaining keywords can be moved here.
  • parse_let_or_const
  • parse_module
  • parse_module_block
  • parse_mut
  • parse_old_alias
  • parse_overlay_hide
  • parse_overlay_new
  • parse_overlay_use
  • parse_source
  • parse_use
  • parse_where
  • parse_where_expr
  • trim_quotes
  • trim_quotes_str
  • unescape_unquote_string