You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. Is it possible to store generators as a field of a struct? I try to implement a parser state machine using generators. I need to perform operations whenever a specific pattern is parsed through a ParserListener trait. In order to consume input I would like to control this generator using an outer struct. Here is the link to related code I wrote. https://github.com/orhanbalci/memterm/blob/e5e4ed04cf288fa1c9590250210312281b34c648/src/parser.rs#L19C27-L19C37
The text was updated successfully, but these errors were encountered:
Hi there. Is it possible to store generators as a field of a struct? I try to implement a parser state machine using generators. I need to perform operations whenever a specific pattern is parsed through a ParserListener trait. In order to consume input I would like to control this generator using an outer struct. Here is the link to related code I wrote. https://github.com/orhanbalci/memterm/blob/e5e4ed04cf288fa1c9590250210312281b34c648/src/parser.rs#L19C27-L19C37
The text was updated successfully, but these errors were encountered: