Sub-nodes should be compiled immediately by the Parser
JohanDufau opened this issue · 0 comments
JohanDufau commented
When a string like {node1 {node2 value}}
is compiled by WTemplate, it will ignore {node2 value}
and will trigger node1's compiler with {node2 value} as parameter.
Node1's compiler should trigger by itself a new parsing on the string recieved by parameter.
This should be done automatically by the Parser during the parsing phase.
- Read node 1
- Read {node2 value}
- Trigger Node2's compiler with value as parameter
- Trigger Node1's compiler with Node2's compiler result as parameter