scan T_CLASS and T_NODE