ast: refactored mixin string Node.set_kind.