signature_to_c
and body_to_c
.This method is useful since most concrete implementation doesn't use the mmethoddef's signature. By providing a definition in the abstract class, subclasses can use any msignature.
# The current msignature to use when compiling : `signature_to_c` and `body_to_c`.
# This method is useful since most concrete implementation doesn't use the
# mmethoddef's signature. By providing a definition in the abstract class,
# subclasses can use any msignature.
fun msignature: MSignature
do
return mmethoddef.msignature.as(not null)
end
src/compiler/abstract_compiler.nit:2116,2--2123,4
redef fun msignature
do
return called_signature
end
src/compiler/separate_compiler.nit:2478,2--2481,4