Skip to content

Commit 98d8c81

Browse files
committed
implements CR suggestions by Marco
1 parent 504198e commit 98d8c81

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

src/main/scala/viper/silver/plugin/PluginTemplate.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ class PluginTemplate extends SilverPlugin {
5454
*/
5555
override def beforeVerify(input: Program) : Program = ???
5656

57-
/** Called after the verification of an entity. Error transformation should happen here.
58-
* This will only be called if verification took place.
57+
/** Called after the verification of an entity, which is used to stream verification results to the IDE
58+
* (which happens as soon as a member has been verified). Error transformation should happen here.
59+
* This will only be called if verification of `entity` took place.
5960
*
6061
* @param entity Entity to which `input` belongs
6162
* @param input Result of verification

src/main/scala/viper/silver/plugin/SilverPlugin.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ trait SilverPlugin {
7474
*/
7575
def beforeVerify(input: Program) : Program = input
7676

77-
/** Called after the verification of an entity. Error transformation should happen here.
78-
* This will only be called if verification took place.
77+
/** Called after the verification of an entity, which is used to stream verification results to the IDE
78+
* (which happens as soon as a member has been verified). Error transformation should happen here.
79+
* This will only be called if verification of `entity` took place.
7980
*
8081
* @param entity Entity to which `input` belongs
8182
* @param input Result of verification

0 commit comments

Comments
 (0)