Skip to content

Automated Section renumber and grammar extraction #1321

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

Merged
merged 1 commit into from
May 6, 2025
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
14 changes: 8 additions & 6 deletions standard/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,8 @@
;

namespace_or_type_name
: identifier type_argument_list?
| namespace_or_type_name '.' identifier type_argument_list?
| qualified_alias_member
: identifier type_argument_list? ('.' identifier type_argument_list?)*
| qualified_alias_member ('.' identifier type_argument_list?)*
;

// Source: §8.1 General
Expand Down Expand Up @@ -1000,8 +999,8 @@
: primary_expression '(' argument_list? ')'
;

// Source: §12.8.11 Null Conditional Invocation Expression

Check warning on line 1002 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1002

MDC032::Line length 84 > maximum 81
null_conditional_invocation_expression

Check warning on line 1003 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1003

MDC032::Line length 85 > maximum 81
: null_conditional_member_access null_forgiving_operator? '(' argument_list? ')'
| null_conditional_element_access null_forgiving_operator? '(' argument_list? ')'
;
Expand Down Expand Up @@ -1132,11 +1131,14 @@
| 'typeof' '(' unbound_type_name ')'
| 'typeof' '(' 'void' ')'
;

Check warning on line 1134 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1134

MDC032::Line length 92 > maximum 81
unbound_type_name

Check warning on line 1135 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1135

MDC032::Line length 83 > maximum 81
: identifier generic_dimension_specifier?
| identifier '::' identifier generic_dimension_specifier?
| unbound_type_name '.' identifier generic_dimension_specifier?
: identifier generic_dimension_specifier? ('.' identifier generic_dimension_specifier?)*
| unbound_qualified_alias_member ('.' identifier generic_dimension_specifier?)*
;

unbound_qualified_alias_member
: identifier '::' identifier generic_dimension_specifier?
;

generic_dimension_specifier
Expand Down Expand Up @@ -1177,7 +1179,7 @@
;

// Source: §12.8.22 Stack allocation
stackalloc_expression

Check warning on line 1182 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1182

MDC032::Line length 86 > maximum 81
: 'stackalloc' unmanaged_type '[' expression ']'
| 'stackalloc' unmanaged_type? '[' constant_expression? ']' stackalloc_initializer
;
Expand Down Expand Up @@ -1960,7 +1962,7 @@
type_parameter_constraints_clause
: 'where' type_parameter ':' type_parameter_constraints
;

Check warning on line 1965 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L1965

MDC032::Line length 83 > maximum 81
type_parameter_constraints
: primary_constraint (',' secondary_constraints)? (',' constructor_constraint)?
| secondary_constraints (',' constructor_constraint)?
Expand Down Expand Up @@ -2323,7 +2325,7 @@
logical_negation_operator
: '!'
;

Check warning on line 2328 in standard/grammar.md

View workflow job for this annotation

GitHub Actions / Markdown to Word Converter

standard/grammar.md#L2328

MDC032::Line length 82 > maximum 81
overloadable_unary_operator
: '+' | '-' | logical_negation_operator | '~' | '++' | '--' | 'true' | 'false'
;
Expand Down
Loading