mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
added defn of non_slash_or_star
This commit is contained in:
parent
81d30ade61
commit
dcb8fa8f35
@ -125,7 +125,7 @@ but a small number are defined in terms of Unicode properties or explicit codepo
|
||||
## Special Unicode Productions
|
||||
|
||||
The following productions in the Rust grammar are defined in terms of Unicode properties:
|
||||
`ident`, `non_null`, `non_star`, `non_eol`, `non_slash`, `non_single_quote` and `non_double_quote`.
|
||||
`ident`, `non_null`, `non_star`, `non_eol`, `non_slash_or_star`, `non_single_quote` and `non_double_quote`.
|
||||
|
||||
### Identifiers
|
||||
|
||||
@ -147,7 +147,7 @@ Some productions are defined by exclusion of particular Unicode characters:
|
||||
- `non_null` is any single Unicode character aside from `U+0000` (null)
|
||||
- `non_eol` is `non_null` restricted to exclude `U+000A` (`'\n'`)
|
||||
- `non_star` is `non_null` restricted to exclude `U+002A` (`*`)
|
||||
- `non_slash` is `non_null` restricted to exclude `U+002F` (`/`)
|
||||
- `non_slash_or_star` is `non_null` restricted to exclude `U+002F` (`/`) and `U+002A` (`*`)
|
||||
- `non_single_quote` is `non_null` restricted to exclude `U+0027` (`'`)
|
||||
- `non_double_quote` is `non_null` restricted to exclude `U+0022` (`"`)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user