You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -305,12 +305,12 @@ Operator precedence rules determine how the correct order of operations is maint
305
305
306
306
Since JSON does not allow values that are expressions, the code does not need to consider operator precedence for the generator being built in this codelab. The same value can be used everywhere a precedence value is required. Since parentheses never need to be added to the JSON, call this value `ATOMIC`.
307
307
308
-
Declare a new enum called `Order` and add the `ATOMIC` value:
308
+
In `src/generators/json.js`, declare a new enum called `Order` and add the `ATOMIC` value:
309
309
310
310
```js
311
311
constOrder= {
312
312
ATOMIC:0,
313
-
}
313
+
};
314
314
```
315
315
316
316
## Value block generators
@@ -326,6 +326,7 @@ The simplest block in this example is the `logic_null` block.
0 commit comments