Share on ... Google+ Twitter LinkedIn Facebook Pinterest Telegram Declaration (Definition) A declaration is a compiler command defining how to understand a identifier object or structure. Luna declares and defines many elements (Variable, Method etc.). and a pure dcleration such as Structure.