Interface FunctionSignature

    • Field Detail

      • VAR_ARGS_DISPLAY_STRING

        static final java.lang.String VAR_ARGS_DISPLAY_STRING
        See Also:
        Constant Field Values
      • VOID_PARAM_DISPLAY_STRING

        static final java.lang.String VOID_PARAM_DISPLAY_STRING
        See Also:
        Constant Field Values
    • Method Detail

      • getName

        java.lang.String getName()
        Return the name of this function
      • getPrototypeString

        java.lang.String getPrototypeString()
        Return a string representation of the function signature without the calling convention specified.
      • getPrototypeString

        java.lang.String getPrototypeString​(boolean includeCallingConvention)
        Return a string representation of the function signature
        Parameters:
        includeCallingConvention - if true prototype will include call convention declaration if known.
      • getArguments

        ParameterDefinition[] getArguments()
        Return an array of parameters for the function
      • getReturnType

        DataType getReturnType()
        Return the return data type
      • getComment

        java.lang.String getComment()
        Return the comment string
      • hasVarArgs

        boolean hasVarArgs()
        Returns true if this function signature has a variable argument list (VarArgs).
      • getGenericCallingConvention

        GenericCallingConvention getGenericCallingConvention()
        Returns the generic calling convention associated with this function definition. The "unknown" convention should be returned instead of null.
      • isEquivalentSignature

        boolean isEquivalentSignature​(FunctionSignature signature)
        Returns true if the given signature is equivalent to this signature. The precise meaning of "equivalent" is dependent upon return/parameter dataTypes.
        Parameters:
        signature - the function signature being tested for equivalence.
        Returns:
        true if the if the given signature is equivalent to this signature.