Go to the documentation of this file.
16#ifndef LIEF_DEX_PROTOTYPE_H
17#define LIEF_DEX_PROTOTYPE_H
33 using parameters_type_t = std::vector<Type*>;
34 using it_params = ref_iterator<parameters_type_t>;
35 using it_const_params = const_ref_iterator<const parameters_type_t>;
49 void accept(Visitor& visitor)
const override;
57 Type* return_type_ =
nullptr;
58 parameters_type_t params_;
Class which parses a DEX file to produce a DEX::File object.
Definition DEX/Parser.hpp:38
Class which represents a DEX method prototype.
Definition Prototype.hpp:29
const Type * return_type() const
Type returned or a nullptr if not resolved.
Prototype(const Prototype &other)
friend std::ostream & operator<<(std::ostream &os, const Prototype &type)
it_const_params parameters_type() const
Types of the parameters.
it_params parameters_type()
void accept(Visitor &visitor) const override
Class which represents a DEX type as described in the format specifications: https://source....
Definition DEX/Type.hpp:33
Definition DEX/Class.hpp:30
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41