rascal 0.2.1

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/loadvariables.as
---
error: Wrong number of parameters; loadVariables requires between 2 and 3.
  ╭▸ loadvariables.as:1:1
  │
1 │ loadVariables();
  │ ━━━━━━━━━━━━━━━
  ╰╴
error: Wrong number of parameters; loadVariables requires between 2 and 3.
  ╭▸ loadvariables.as:2:1
  │
2 │ loadVariables("http://ruffle.rs");
  ╰╴━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
error: Wrong number of parameters; loadVariables requires between 2 and 3.
  ╭▸ loadvariables.as:3:1
  │
3 │ loadVariables("http://ruffle.rs", "window", "get", "foo");
  ╰╴━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
error: Method name must be GET or POST.
  ╭▸ loadvariables.as:4:45
  │
4 │ loadVariables("http://ruffle.rs", "window", x);
  ╰╴                                            ━
error: Method name must be GET or POST.
  ╭▸ loadvariables.as:5:45
  │
5 │ loadVariables("http://ruffle.rs", "window", "foo");
  ╰╴                                            ━━━━━