Renderingla

protecta

Reserved visibility annotation rejected by semantic analysis.

Aliases: protected

Syntax: @ protecta

Category

modifier

Related

Examples

examples/corpus/protecta/protecta.fab (canonical · keyword)

Reserved visibility annotation rejected by semantic analysis.

# @ protecta is reserved visibility syntax
#
# This exemplum intentionally fails to compile. `@ protecta` is reserved and
# has no active package, subclass, or sibling-file visibility meaning.
#
# GRAMMAR:
#   annotatedDecl :← '@' 'protecta' funcDecl
#
# EXPECTED ERROR:
#   `@ protecta` is reserved and has no active visibility meaning

@ protecta
functio protectum() → textus {
    redde "protecta"
}

incipit {
    nota protectum()
}