Skip to content

Commit 6738760

Browse files
committed
Remove ControlFlow category
1 parent db07747 commit 6738760

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

src/SyntaxLookup.js

+12-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SyntaxLookup.res

+1-4
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,20 @@ let requireSyntaxFile: string => MdxComp.t = %raw(`
3131
`)
3232

3333
module Category = {
34-
type t = Decorators | ControlFlow | Operators | LanguageConstructs | SpecialValues | Other
34+
type t = Decorators | Operators | LanguageConstructs | SpecialValues | Other
3535

3636
let toString = t =>
3737
switch t {
3838
| Decorators => "Decorators"
3939
| Operators => "Operators"
4040
| LanguageConstructs => "Language Constructs"
4141
| SpecialValues => "Special Values"
42-
| ControlFlow => "Control Flow"
4342
| Other => "Other"
4443
}
4544

4645
let fromString = (s: string): t => {
4746
switch s {
4847
| "decorators" => Decorators
49-
| "controlflow" => ControlFlow
5048
| "specialvalues" => SpecialValues
5149
| "operators" => Operators
5250
| "languageconstructs" => LanguageConstructs
@@ -244,7 +242,6 @@ let make = () => {
244242
Decorators,
245243
Operators,
246244
LanguageConstructs,
247-
ControlFlow,
248245
SpecialValues,
249246
Other,
250247
]->Belt.Array.map(cat => {

0 commit comments

Comments
 (0)