Is your feature request related to a problem? Please describe.
Many type validations happen during AstParser's lifecycle, however keep in mind that many nodes are not initialized yet at that time. Make sure all of these dynamic validations happen in init function within nodes.
Describe the solution you'd like
Move all dynamic validations from AST parser to node init lifecycles.
Describe alternatives you've considered
Additional context
Verify it doesn't break existing behaviour.
Is your feature request related to a problem? Please describe.
Many type validations happen during AstParser's lifecycle, however keep in mind that many nodes are not initialized yet at that time. Make sure all of these dynamic validations happen in
initfunction within nodes.Describe the solution you'd like
Move all dynamic validations from AST parser to node init lifecycles.
Describe alternatives you've considered
Additional context
Verify it doesn't break existing behaviour.