rascal 0.3.4

A parser and compiler for Flash ActionScript 2 files into SWFs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
source: crates/rascal/src/program.rs
expression: parsed
input_file: samples/as2_errors/special_functions/loadvariables.as
---
error: Compile error
  ╭▸ loadvariables.as:1:1
  │
1 │ loadVariables();
  │ ━━━━━━━━━━━━━━━ Wrong number of parameters; loadVariables requires between 2 and 3.
2 │ loadVariables("http://ruffle.rs");
  │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Wrong number of parameters; loadVariables requires between 2 and 3.
3 │ loadVariables("http://ruffle.rs", "window", "get", "foo");
  │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Wrong number of parameters; loadVariables requires between 2 and 3.
4 │ loadVariables("http://ruffle.rs", "window", x);
  │                                             ━ Method name must be GET or POST.
5 │ loadVariables("http://ruffle.rs", "window", "foo");
  ╰╴                                            ━━━━━ Method name must be GET or POST.