nushell/crates/nu-engine/src/evaluate
Andrés N. Robalino 03c9eaf005
Variable completions. (#3666)
In Nu we have variables (E.g. $var-name) and these contain `Value` types.
This means we can bind to variables any structured data and column path syntax
(E.g. `$variable.path.to`) allows flexibility for "querying" said structures.

Here we offer completions for these. For example, in a Nushell session the
variable `$nu` contains environment values among other things. If we wanted to
see in the screen some environment variable (say the var `SHELL`) we do:

```
> echo $nu.env.SHELL
```

with completions we can now do: `echo $nu.env.S[\TAB]` and we get suggestions
that start at the column path `$nu.env` with vars starting with the letter `S`
in this case `SHELL` appears in the suggestions.
2021-06-23 19:21:39 +12:00
..
block.rs Relax groups and blocks to output at pipeline level (#3643) 2021-06-18 13:04:51 +12:00
evaluate_args.rs Switch to "engine-p" (#3270) 2021-04-06 11:19:43 -05:00
evaluator.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
expr.rs Fix issue in external subexpression paths (#3642) 2021-06-18 07:59:58 +12:00
internal.rs Refactor rarely changing engine state into its own struct (#3612) 2021-06-14 15:19:12 +12:00
mod.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
operator.rs Series arithmetic (#3602) 2021-06-11 09:39:51 +12:00
scope.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
variables.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00