Non-intrusive tagging of AST nodes in Boost.Spirit X3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Non-intrusive tagging of AST nodes in Boost.Spirit X3

Orient
Is it possible to perform tagging of AST without the AST node to be derived from some non-empty struct?
When AST node derived from x3::position_tagged then I cannot use aggregate initialization for AST nodes during performing of AST transformations.