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
---
source: crates/rascal/src/program.rs
expression: parsed
input_file: samples/as2_errors/special_functions/geturl.as
---
error: Compile error
  ╭▸ geturl.as:1:1
  │
1 │ getURL();
  │ ━━━━━━━━ Wrong number of parameters; getURL requires between 1 and 3.
2 │ getURL("http://ruffle.rs", "window", "get", "foo");
  │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Wrong number of parameters; getURL requires between 1 and 3.
3 │ getURL("http://ruffle.rs", "window", x);
  │                                      ━ Method name must be GET or POST.
4 │ getURL("http://ruffle.rs", "window", "foo");
  ╰╴                                     ━━━━━ Method name must be GET or POST.