No parent in ASTNode
Added If-statement