astChildren
Virtual property to return a list of the node's children. Uses the SubgraphWalker to retrieve the appropriate nodes.
Note: This only returns the direct children of this node. If you want to have all children, e.g., a flattened AST, you need to call Node.allChildren.
For Neo4J OGM, this relationship will be automatically filled by a pre-save event before OGM persistence. Therefore, this property is a var
and not a val
.