nushell/crates/nu-protocol/src/engine
Jakub Žádník e4104d0792
Span ID Refactor - Step 1 (#12960)
# Description
First part of SpanID refactoring series. This PR adds a `SpanId` type
and a corresponding `span_id` field to `Expression`. Parser creating
expressions will now add them to an array in `StateWorkingSet`,
generates a corresponding ID and saves the ID to the Expression. The IDs
are not used anywhere yet.

For the rough overall plan, see
https://github.com/nushell/nushell/issues/12963.

# User-Facing Changes
Hopefully none. This is only a refactor of Nushell's internals that
shouldn't have visible side effects.

# Tests + Formatting

# After Submitting
2024-06-05 09:57:14 +08:00
..
cached_file.rs Refactor source cache into CachedFile struct (#12240) 2024-03-20 19:43:50 +01:00
call_info.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
capture_block.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
command.rs Use CommandType in more places (#12832) 2024-05-18 23:37:31 +00:00
engine_state.rs Span ID Refactor - Step 1 (#12960) 2024-06-05 09:57:14 +08:00
mod.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
overlay.rs Style: move some Option if/else to method chains (#12285) 2024-03-26 08:35:51 +08:00
pattern_match.rs Shrink the size of Expr (#12610) 2024-04-24 15:46:35 +00:00
stack_out_dest.rs Rename IoStream to OutDest (#12433) 2024-04-09 16:48:32 +00:00
stack.rs Remove stack debug assert (#12861) 2024-05-15 22:59:10 +00:00
state_delta.rs Span ID Refactor - Step 1 (#12960) 2024-06-05 09:57:14 +08:00
state_working_set.rs Span ID Refactor - Step 1 (#12960) 2024-06-05 09:57:14 +08:00
usage.rs Split up nu-protocol/src/engine/engine_state.rs (#10368) 2023-09-21 22:53:36 +02:00
variable.rs Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00