syntax_data: {"ast_node_type":"other","tokens":[{"end":20,"kind":"keyword","start":0,"text":"}"}]}
source_snippet:             } else {
context_before:                 assert!(variants.contains(index));
context_after:                 // Types without variants use `0` as dummy variant index.