-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add retry metadata to fsm decl #1554
Conversation
You should be able to find variable declarations of the FSM type, then get the comments from the variable no? |
I like this syntax 👍 |
dcc26cc
to
76d58a1
Compare
Ah you're right, the variable declaration holds the documentation. |
return visitStack([]goast.Node{node}, v) | ||
} | ||
|
||
func visitStack(stack []goast.Node, v VisitorFunc) error { //nolint:maintidx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
regex did the dirty work here, no RSI was harmed
2f488b7
to
0c3ac79
Compare
2e46f92
to
a228f5e
Compare
a228f5e
to
6ea925e
Compare
Changes:
currentVerb
fromparserContext
as this special case is no longer neededAdd retries to a FSM like this:
In the schema it looks like this: