core: design constant/structure/function detail handling