Module Pike.Annotations

Description

This module contains the set of annotations that the compiler and runtime care about.


Constant AutoCodec

constant Pike.Annotations.AutoCodec

Description

This Annotation causes the compiler to automatically add an implementation of _encode() that returns an array with suitable arguments to lfun::create.

Note

This annotation is only useful for classes that use the implicit create()-syntax, or have a create() that doesn't need any arguments.


Constant Inherited

constant Pike.Annotations.Inherited

Description

This Annotation informs the compiler that any Annotation marked with it is to be inherited. The default is that annotations on classes are not inherited.


Constant Override

constant Pike.Annotations.Override

Description

This Annotation informs the compiler that any symbol marked with it is expected to also have been inherited.