Skip to content

Commit

Permalink
back to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonyBlakey committed Jun 19, 2024
1 parent 5a430ae commit d055379
Show file tree
Hide file tree
Showing 7 changed files with 1,486 additions and 3,220 deletions.
386 changes: 188 additions & 198 deletions crates/codegen/runtime/cargo/src/runtime/wit/generated/slang.rs

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/codegen/runtime/cargo/src/runtime/wit/slang.wit.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ world slang {

interface parser {

variant nonterminal-kind {
enum nonterminal-kind {
{%- if rendering_in_stubs %}
stub1,
stub2,
Expand All @@ -18,7 +18,7 @@ interface parser {
{%- endif %}
}

variant edge-label {
enum edge-label {
// Built-in:
{%- for label in model.kinds.built_in_labels %}
{{ label | wit_identifier }},
Expand All @@ -36,7 +36,7 @@ interface parser {
{%- endif %}
}

variant terminal-kind {
enum terminal-kind {
// Built-in:
skipped,

Expand Down Expand Up @@ -153,7 +153,7 @@ interface parser {
next: func() -> option<query-match>;
}

variant severity {
enum severity {
error,
warning,
information,
Expand Down
3,766 changes: 1,059 additions & 2,707 deletions crates/solidity/outputs/cargo/slang_solidity/src/generated/wit/generated/slang.rs

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d055379

Please sign in to comment.