Course of Raku / Regexes and grammars / Grammars / Action classes / Writing an action class

Quiz — make

Inside an action method, which function attaches a value to the current match (so it can later be read with .made)?

1make
0made
0take
0return

make stores a value on the match; made (or .ast) reads it back afterwards. So an action method computes its result and passes it to make.

Course navigation

Writing an action class   |   Inline actions vs action classes