Skip to content

Repititive Use of a Rule #75

Answered by d-frey
w0o0o0oah asked this question in Q&A
Discussion options

You must be logged in to vote

You mean something like:

struct A : seq< whatever > {};
struct B : plus< A > {};

?

If you specialize an action for B, it will receive the whole input that matches in one go. If you want to have your action called for each A you'd simply specialize an action for A.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by d-frey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #75 on December 09, 2020 10:26.