nushell/crates/nu-parser/src
mike 8e38596bc9
allow tables to have annotations (#9613)
# Description

follow up to #8529 and #8914

this works very similarly to record annotations, only difference being
that

```sh
table<name: string>
      ^^^^  ^^^^^^
      |     | 
      |     represents the type of the items in that column
      |
      represents the column name
```
more info on the syntax can be found
[here](https://github.com/nushell/nushell/pull/8914#issue-1672113520)

# User-Facing Changes

**[BREAKING CHANGE]**
this change adds a field to `SyntaxShape::Table` so any plugins that
used it will have to update and include the field. though if you are
unsure of the type the table expects, `SyntaxShape::Table(vec![])` will
suffice
2023-07-07 11:06:09 +02:00
..
deparse.rs allow empty string arguments (#9420) 2023-06-13 07:30:30 -05:00
eval.rs Allow duration defaults (#9249) 2023-05-20 08:23:25 -05:00
flatten.rs Avoid blocking when o+e> redirects too much stderr message (#8784) 2023-05-17 17:47:03 -05:00
known_external.rs Document and critically review ShellError variants - Ep. 3 (#8340) 2023-03-06 18:33:09 +01:00
lex.rs allow comment in multiple line pipeline (#9436) 2023-06-15 13:11:42 +02:00
lib.rs Add virtual path abstraction layer (#9245) 2023-05-23 23:48:50 +03:00
lite_parser.rs Let with pipeline (#9589) 2023-07-03 17:45:10 +12:00
parse_keywords.rs Remove unnecessary parentheses (#9605) 2023-07-04 11:12:46 +02:00
parse_patterns.rs Cut down on unnecessary parsing for SyntaxShape::Any (#9280) 2023-05-25 07:53:57 +12:00
parser_path.rs Add virtual path abstraction layer (#9245) 2023-05-23 23:48:50 +03:00
parser.rs allow tables to have annotations (#9613) 2023-07-07 11:06:09 +02:00
type_check.rs allow tables to have annotations (#9613) 2023-07-07 11:06:09 +02:00