starlark_syntax 0.13.0

Starlark language AST
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# @generated
# To regenerate, run:
# ```
# STARLARK_RUST_REGENERATE_GOLDEN_TESTS=1 cargo test -p starlark --lib
# ```

Program:
def toto():
  pass

Error:
error: `def` is not allowed in this dialect
 --> top_level_def:1:1
  |
1 | / def toto():
2 | |   pass
  | |______^
  |