Module tvix_eval::value::string

source Β·
Expand description

This module implements Nix language strings.

See NixString for more information about the internals of string values

Re-exports§

Modules§

Structs§

Constants§

Functions§

  • hash πŸ”’
  • is_keyword πŸ”’
    Return true if this string is a keyword – character strings which lexically match the β€œidentifier” production but are not parsed as identifiers. See also cppnix commit b72bc4a972fe568744d98b89d63adcd504cb586c.
  • Return true if this string can be used as an identifier in Nix.
  • nix_escape_char πŸ”’
  • Escape a Nix string for display, as most user-visible representation are escaped strings.