Class MethodEntry

This is a foreign class that wraps over a class or enum method.

0 define doc: String

Return the docblock of this method, or an empty string. Docblocks are only saved when a method is parsed in manifest mode.

0 define function_name: String

Return the unqualified name of the function given.

0 define generics: List[TypeEntry]

Return the generic types available to this method (including those from the class/enum). Methods defined outside of manifest mode will always return [].

0 define is_forward_virtual: Boolean

Returns true if the method is forward virtual, false otherwise.

0 define is_private: Boolean

Return true if the method is private, false otherwise.

0 define is_protected: Boolean

Return true if the method is protected, false otherwise.

0 define is_public: Boolean

Return true if the method is public, false otherwise.

0 define is_static: Boolean

Return true if the method is static, false otherwise.

0 define is_varargs: Boolean

Returns true if the method takes varargs, false otherwise.

0 define is_virtual: Boolean

Returns true if the method is virtual or forward virtual, false otherwise.

0 define line_number: Integer

Return the line number that this method was declared on.

0 define parameters: List[ParameterEntry]

Return the parameters of this method. Methods processed outside of manifest mode will have empty names.

0 define result_type: TypeEntry

Return the type that this method returns when called.

0 define scope: SymScope

Return the scope (public, protected, or private) of this method.

0 define type: TypeEntry

Return the type of the method provided.