function-body

The function-body join point matches the block of code that constitutes the body of a function declaration, or a function literal expression. It only matches Block nodes.

Examples

function-body:
    all-of:
        - directive: annotation
        - function:
            - name: ServeHTTP