Class ClangReturnType

java.lang.Object
ghidra.app.decompiler.ClangTokenGroup
ghidra.app.decompiler.ClangReturnType
All Implemented Interfaces:
ClangNode, Iterable<ClangNode>

public class ClangReturnType extends ClangTokenGroup
A grouping of source code tokens representing the "return type" of a function, as at the beginning of a function prototype.
  • Constructor Details

    • ClangReturnType

      public ClangReturnType(ClangNode par)
  • Method Details

    • getDataType

      public DataType getDataType()
      Returns:
      the data-type represented by this text
    • getVarnode

      public Varnode getVarnode()
      Returns:
      a Varnode representing the return value in the function's data-flow
    • decode

      public void decode(Decoder decoder, PcodeFactory pfactory) throws DecoderException
      Description copied from class: ClangTokenGroup
      Decode this text from an encoded stream.
      Overrides:
      decode in class ClangTokenGroup
      Parameters:
      decoder - is the decoder for the stream
      pfactory - is used to look up p-code attributes to associate with tokens
      Throws:
      DecoderException - for problems decoding the stream