|
| Function (const Token &tok, Interface *interface) |
| Constructor. More...
|
|
| Function (const Token &tok, Interface *interface, uint32_t uniqueId) |
| Constructor. More...
|
|
uint32_t | getUniqueId () const |
| This function returns function unique id. More...
|
|
void | setUniqueId (uint32_t newId) |
| This function set function unique id. More...
|
|
Interface * | getInterface () const |
| This function returns parent Interface. More...
|
|
virtual std::string | getDescription () const override |
| This function returns description about the interface function. More...
|
|
void | setFunctionType (FunctionType *functionType) |
| This function sets FunctionType (callback type). More...
|
|
FunctionType * | getFunctionType () const |
| This function returns FunctionType (callback type). More...
|
|
| FunctionBase () |
| Constructor.
|
|
StructType & | getParameters () |
| This function returns function parameters. More...
|
|
DataType * | getReturnType () |
| This function returns data type of function return value. More...
|
|
StructMember * | getReturnStructMemberType () |
| This function returns data type of function return value. More...
|
|
void | setReturnStructMemberType (StructMember *returnType) |
| This function set data type of function return value. More...
|
|
bool | isOneway () const |
| This function returns true/false, when function return type is/isn't oneway. More...
|
|
void | setIsOneway (bool argIsOneway) |
| This function set true/false, when function return type is/isn't oneway. More...
|
|
| Symbol (symbol_type_t symType) |
| Constructor. More...
|
|
| Symbol (symbol_type_t symType, const std::string &name) |
| Constructor. More...
|
|
| Symbol (symbol_type_t symType, const Token &tok) |
| Constructor. More...
|
|
virtual | ~Symbol () |
| Destructor.
|
|
symbol_type_t | getSymbolType () const |
| This function returns symbol type. More...
|
|
const std::string & | getName () const |
| This function returns symbol name. More...
|
|
void | setName (const std::string &newName) |
| This function set symbol name. More...
|
|
bool | isConstSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isEnumMemberSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isFunctionSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isInterfaceSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isProgramSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isStructMemberSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isDatatypeSymbol () const |
| This function is testing symbol type. More...
|
|
bool | isUnionCaseSymbol () const |
| This function is testing symbol type. More...
|
|
token_loc_t & | getLocation () |
| This function returns location for symbol. More...
|
|
void | setLocation (const token_loc_t &loc) |
| This function set location for symbol. More...
|
|
int | getFirstLine () const |
| This function return first line from location of symbol. More...
|
|
int | getLastLine () const |
| This function return last line from location of symbol. More...
|
|
void | addAnnotation (const Annotation &a) |
| This function add annotation to vector of symbol annotations. More...
|
|
std::string | printAnnotations () |
| This function returns description about annotation. More...
|
|
Annotation * | findAnnotation (const std::string &name, Annotation::program_lang_t lang) |
| Find annotation in the annotation list. More...
|
|
std::vector< Annotation * > | getAnnotations (const std::string &name, Annotation::program_lang_t lang) |
| Find annotations matching name in the annotation list. More...
|
|
const std::vector< Annotation > & | getAnnotations () const |
| Return all Symbol annotations. More...
|
|
Value * | getAnnValue (const std::string &annName, Annotation::program_lang_t lang) |
| This function search and returns Value object for given annotation name. More...
|
|
std::string | getAnnStringValue (const std::string &annName, Annotation::program_lang_t lang) |
| This function search and returns string for given annotation name. More...
|
|
std::string | getMlComment () |
| This function returns multiline comment for this symbol declared in IDL file. More...
|
|
void | setMlComment (const std::string &comment) |
| This function set multiline comment for this symbol declared in IDL file. More...
|
|
std::string | getIlComment () |
| This function returns inline comment for this symbol declared in IDL file. More...
|
|
void | setIlComment (const std::string &comment) |
| This function set inline comment for this symbol declared in IDL file. More...
|
|
Function declaration.
The function's parameters are represented by a StructType object.