Skip to content
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

Stabilize macro_vis_matcher #400

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/macros-by-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ syntax named by _designator_. Valid designators are:
* `tt`: a token tree (a single [token] by matching `()`, `[]`, or `{}`)
* `meta`: the contents of an [attribute]
* `lifetime`: a lifetime. Examples: `'static`, `'a`.
* `vis`: a (visibility qualifier)[visibility-and-privacy]

[item]: items.html
[block]: expressions/block-expr.html
Expand All @@ -43,6 +44,7 @@ syntax named by _designator_. Valid designators are:
[path]: paths.html
[token]: tokens.html
[attribute]: attributes.html
[visibility-and-privacy]: visibility-and-privacy.html

In the transcriber, the
designator is already known, and so only the name of a matched nonterminal comes
Expand Down