#104 CQuery: BFS tree walker

Slēgta
ranides atvēra 2 gadi atpakaļ · 1 komentāri

Surprisingly we have DFS implementation of tree walker. If we implement BFS, we will have everything what we need.

Surprisingly we have DFS implementation of tree walker. If we implement BFS, we will have everything what we need.
ranides komentēja 2 gadi atpakaļ
Īpašnieks

Not really. We can implement trivial BFS as an "reference implementation", but in practice such default walker can be "not enough". For example for ANTLR4 selector we had it implement custom (although similar) CQuery.

Not really. We can implement trivial BFS as an "reference implementation", but in practice such default walker can be "not enough". For example for ANTLR4 selector we had it implement custom (although similar) CQuery.
ranides pieminēja šo problēmu revīzijā 1 gadu atpakaļ
Pierakstieties, lai pievienotos šai sarunai.
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.