-
Notifications
You must be signed in to change notification settings - Fork 21
Annotation Guide
Nick Battle edited this page Jan 16, 2023
·
9 revisions
So there's an Annotation Guide. What's that about?
It describes the standard VDMJ annotations and explains how to write your own.
Okay, can you quickly describe what an annotation is?
They are comments in a VDM specification that occur before something else, like a function or an expression. They look similar to annotations in Java, with a default syntax like @SomeName(arg1, arg2)
. Then, when VDMJ is processing whatever has been annotated, it can be influenced by the presence of the annotation.
- TL;DR
- VDM Method
- VDMJ Overview
- VDMJ Docs for Specifiers
- VDMJ Docs for Tool Developers
- VDMJ Docs for LSP Developers