Skip to content

Commit

Permalink
Fixed documentation of the default visibility of functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman authored May 8, 2024
1 parent aaae540 commit d74a7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion courses/Rascal/Declarations/Function/Function.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ There are some restrictions however:
The _Modifiers_ affect _visibility_ and _special behaviour_ of functions:

* _Visibility_: `private` declares that a function is only visible in the current module.
`public` declares that it is visible outside the module as well. When visibility is not specified, `private` is assumed.
`public` declares that it is visible outside the module as well. When visibility is not specified, `public` is assumed.
* _Special Behaviour_:
* `java` declares that the body of the function is implemented in Java. The function should have a `javaClass` annotation that determines where the Java implementation can be found.
* `test` declares that this is a test function. A test function is a boolean function (currently) without arguments. It can be called as any other function. However, it can also be called automatically by the unit test framework, by typing `:test` at the command line, see [Help](/docs/GettingHelp/CommandLine/).
Expand Down

0 comments on commit d74a7c8

Please sign in to comment.