company logo

Method Declaration

Keywords:  data type

A method declaration defines the type of the return value of method and its calling conventions (parameters, exceptions). A method declaration must contain at least a type specification, a name (identifier) and parameter declarations, which might consist of an empty parameter list.

Definition: 

op_dcl := [oneway] [mtype_ref] [ref_symbol(*)] meth_ident parameter_dcls [_const] [raises_expr] [context_expr]