rascal 0.2.4

A parser and compiler for Flash ActionScript 2 files into SWFs
Documentation
---
source: crates/rascal/src/program.rs
expression: parsed
input_file: samples/as2_errors/special_functions/getproperty.as
---
error: Wrong number of parameters; getProperty requires exactly 2.
  ╭▸ getproperty.as:1:1
  │
1 │ getProperty();
  │ ━━━━━━━━━━━━━
  ╰╴
error: Wrong number of parameters; getProperty requires exactly 2.
  ╭▸ getproperty.as:2:1
  │
2 │ getProperty(x);
  ╰╴━━━━━━━━━━━━━━
error: Property name expected in GetProperty.
  ╭▸ getproperty.as:3:16
  │
3 │ getProperty(x, y);
  ╰╴               ━
error: Wrong number of parameters; getProperty requires exactly 2.
  ╭▸ getproperty.as:4:1
  │
4 │ getProperty(x, y, z);
  ╰╴━━━━━━━━━━━━━━━━━━━━
error: Property name expected in GetProperty.
  ╭▸ getproperty.as:5:16
  │
5 │ getProperty(x, "_alpha");
  ╰╴               ━━━━━━━━