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/substring.as
---
error: Compile error
  ╭▸ substring.as:1:1
  │
1 │ substring();
  │ ━━━━━━━━━━━ Wrong number of parameters; substring requires between 2 and 3.
2 │ substring("a");
  │ ━━━━━━━━━━━━━━ Wrong number of parameters; substring requires between 2 and 3.
3 │ substring("a", 1, 2, 3);
  ╰╴━━━━━━━━━━━━━━━━━━━━━━━ Wrong number of parameters; substring requires between 2 and 3.