renatahodovan / grammarinator

ANTLR v4 grammar-based test generator
Other
340 stars 61 forks source link

Create more detailed output trees #203

Closed renatahodovan closed 9 months ago

renatahodovan commented 9 months ago

Before this patch, the generated trees only contained rule nodes, but they didn't encode information about the decisions (alternative selection, quantifications) that produced the final tree structure. The current commit adds such information to the tree in the form of alternative, quantifier and quantified unparser rules. Having these nodes in the tree makes possible the application of more sophisticated tree manipulations.

coveralls commented 9 months ago

Coverage Status

coverage: 87.79% (-0.6%) from 88.426% when pulling 073c972b0740f6adec52642a79f35dd83d14d2e2 on new-nodes-v2 into b4c739a2ab3790c436781539b0bd09f12e3f3b57 on master.