Marks an import as local to the current module.
Aliases: private
Syntax: importa ex <source> privata <name>
Category
modifier
Related
Examples
examples/corpus/privata/privata.fab (canonical · keyword)
Marks an import as local to the current module.
# @ privata marks a declaration as private metadata
#
# Annotations attach visibility metadata to the following declaration.
#
# GRAMMAR:
# annotatedDecl :← '@' 'privata' funcDecl
#
# EXPECTED OUTPUT:
# privata
@ privata
functio privatum() → textus {
redde "privata"
}
incipit {
nota privatum()
}Expected output:
privata