Skip to content

Commit

Permalink
RakuAST: add hooks for "augment" and "supersede"
Browse files Browse the repository at this point in the history
These are internally considered to be scopes
  • Loading branch information
lizmat committed Sep 17, 2023
1 parent 714f2f6 commit 783c790
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
18 changes: 10 additions & 8 deletions lib/RakuAST/Deparse/L10N/CORE.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,16 @@ my constant %translation =
routine-submethod => 'submethod',
routine-token => 'token',

scope-anon => 'anon',
scope-constant => 'constant',
scope-has => 'has',
scope-HAS => 'HAS',
scope-my => 'my',
scope-our => 'our',
scope-state => 'state',
scope-unit => 'unit',
scope-anon => 'anon',
scope-augment => 'augment',
scope-constant => 'constant',
scope-has => 'has',
scope-HAS => 'HAS',
scope-my => 'my',
scope-our => 'our',
scope-state => 'state',
scope-supersede => 'supersede',
scope-unit => 'unit',

stmt-prefix-do => 'do',
stmt-prefix-eager => 'eager',
Expand Down
18 changes: 10 additions & 8 deletions lib/RakuAST/Deparse/L10N/NL.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,16 @@ my constant %translation =
routine-submethod => 'submethode',
routine-token => 'merkteken',

scope-anon => 'anoniem',
scope-constant => 'constant',
scope-has => 'heeft',
scope-HAS => 'HEEFT',
scope-my => 'mijn',
scope-our => 'onze',
scope-state => 'steeds',
scope-unit => 'eenheid',
scope-anon => 'anoniem',
scope-augment => 'verbeter',
scope-constant => 'constant',
scope-has => 'heeft',
scope-HAS => 'HEEFT',
scope-my => 'mijn',
scope-our => 'onze',
scope-state => 'steeds',
scope-supersede => 'vervang',
scope-unit => 'eenheid',

stmt-prefix-do => 'doe',
stmt-prefix-eager => 'vlijtig',
Expand Down

0 comments on commit 783c790

Please sign in to comment.