Method Program.annotations()


Method annotations

multiset(Pike.Annotation) annotations(program x, bool|void no_recurse)

Description

Return a multiset with the annotations for all symbols in x attached to this program.

Parameter x

Program whose identifiers should be returned.

Parameter no_recurse

Do not include annotations recursively added via inherits.

Returns

Returns an multiset with annotations added directly to this program.

Note

This function was added in Pike 8.1.

See also

indices(), values(), types(), lfun::_annotations(), ::_annotations()