Legalism, in the Western sense, is an approach to the analysis of legal questions characterized by abstract logical reasoning focusing on the applicable legal text, such as a constitution, legislation, or case law, rather than on the social, economic, or political context. Legalism has occurred both in civil and common law traditions.