mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 05:47:52 +02:00
Remove legacy code in some core commands (#15560)
# Description See [this discussion](https://discord.com/channels/601130461678272522/1353434388938883143/1360664695962341647) on discord Goal: as the AST evaluator isn't supported anymore, I removed the body of the "run" methods of some commands that were actually never run because the IR is used instead. Note: the code inside the "run_const" methods seems to be run, so I left it. Cc @132ikl # User-Facing Changes None # Tests + Formatting I didn't do any manual testing, I just ran the tests # After Submitting Nothing required I think
This commit is contained in:
@ -10,7 +10,7 @@ head1 arg1 arg2 | head2
|
||||
|
||||
## Lexing
|
||||
|
||||
The first job of the parser is to a lexical analysis to find where the tokens start and end in the input. This turns the above into:
|
||||
The first job of the parser is to perform a lexical analysis to find where the tokens start and end in the input. This turns the above into:
|
||||
|
||||
```text
|
||||
<item: "head1">, <item: "arg1">, <item: "arg2">, <pipe>, <item: "head2">
|
||||
|
Reference in New Issue
Block a user