Ecclesiastical laws must be understood in accord with the proper meaning of the words considered in their text and context. If the meaning remains doubtful and obscure, recourse must be made to parallel places, if there are such, to the purpose and circumstances of the law, and to the mind of the legislator.
Source: Code of Canon Law (Vatican.va)