Method_Interface

interface Method_Interface (physical)

This is used for modelling methods.

Direct parents:
Inherited interfaces:

Routine_Interface, Parameter_List_Interface

Direct child interfaces:
Direct implementations:

Field

Kind

Type

Description

Return_Type (from Routine_Interface)

syntactic

interface Possibly_Attributed_Type_Interface

It’s syntactic because the type may be defined in-place in case of C structs; in the more usual semantic case, the child will be a Type_Selection node

Calling_Convention (from Routine_Interface)

attribute

enum Calling_Convention_Kind

Calling convention that was syntactically present.

Attributes (from Routine_Interface)

attribute

bitfield Physical_Routine_Attributes_Type

Bitfield of flags like is_inline, is_const etc.

Trailing_Requires_Clause (from Routine_Interface)

syntactic

class Expression

Parameters (from Parameter_List_Interface)

syntactic

list of class Possibly_Attributed_Parameter_Interface

All parameters, including the ellipsis, but excluding this Usually some Parameter_Definitions, but could also be an Attributed_Definition. Use skip_decorators() to get the parameter itself.