between (symbol "[") (symbol "]") listG
, rule "teList_empty" $
g_source $
- (\src -> BinTree0 $ Token_Term $ TermVT_CF teList_empty `setSource` src)
+ (\src -> BinTree0 $ Token_Term $ TermAVT teList_empty `setSource` src)
<$ symbol "["
<* symbol "]"
]
g_source $
(\a mb src ->
case mb of
- Just b -> BinTree2 (BinTree2 (BinTree0 $ Token_Term $ TermVT_CF $ (`setSource` src) $ teList_cons) a) b
+ Just b -> BinTree2 (BinTree2 (BinTree0 $ Token_Term $ TermAVT $ (`setSource` src) $ teList_cons) a) b
Nothing ->
BinTree2
- (BinTree2 (BinTree0 $ Token_Term $ TermVT_CF $ (`setSource` src) $ teList_cons) a)
- (BinTree0 $ Token_Term $ TermVT_CF $ (`setSource` src) $ teList_empty))
+ (BinTree2 (BinTree0 $ Token_Term $ TermAVT $ (`setSource` src) $ teList_cons) a)
+ (BinTree0 $ Token_Term $ TermAVT $ (`setSource` src) $ teList_empty))
<$> g_term
<*> option Nothing (Just <$ symbol "," <*> listG)
instance (Source src, Inj_Sym ss []) => ModuleFor src ss [] where