العرضar

إعادة_تسمية

Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.

Braced canonical @ إعادة_تسمية rename mapping.

Syntax: @ إعادة_تسمية { target = rs, methodus = \"…\" }

Category#

codegen

Examples#

radix/corpus/annotation-sugar/verte-braced.fab (canonical · annotation)#

Braced canonical @ إعادة_تسمية rename mapping.

# =============================================================================
# إعادة_تسمية — Braced canonical @ إعادة_تسمية rename mapping.
# =============================================================================
#
# What this teaches:
#   • Backend rename mapping — `@ إعادة_تسمية { target = rs, methodus = "push" }`
#     maps a Faber function to a differently-named backend method
#   • Braced annotation syntax — the target backend and methodus fields
#     configure code generation renaming
#
# Common mistakes:
#   • forgetting to specify the target backend in `@ إعادة_تسمية { target = rs, methodus = "..." }`
#
# See also: إعادة_تسمية, annotation-sugar
# =============================================================================

@ rename { target = rs, methodus = "push" }
fn addeExemplar() → void {
    pass
}

main {
    print "verte-braced"
}

Expected output:

verte-braced