Before revision: In the civil law and common law traditions, the basis of legal relevance that allows drawing a legally valid analogy is described by different terms depending on the source of law involved: for precedent, for statutory law, and for unwritten legal principles
After revision: In the civil law tradition, analogy is most typically used for filling gaps in a statutory scheme.