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
---
source: crates/rascal/src/program.rs
expression: parsed
input_file: samples/as2_errors/special_functions/gotoandplay.as
---
error: Compile error
  ╭▸ gotoandplay.as:1:1
  │
1 │ gotoAndPlay();
  │ ━━━━━━━━━━━━━ Wrong number of parameters; gotoAndPlay requires between 1 and 2.
2 │ gotoAndPlay(x, 123);
  │             ━ Scene name must be quoted string.
3 │ gotoAndPlay("foo", 123, true);
  ╰╴━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Wrong number of parameters; gotoAndPlay requires between 1 and 2.