callback method added to ASTNodeWrapper