Package ghidra.app.decompiler
Class ClangReturnType
java.lang.Object
ghidra.app.decompiler.ClangTokenGroup
ghidra.app.decompiler.ClangReturnType
A grouping of source code tokens representing the "return type" of a function,
as at the beginning of a function prototype.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(Decoder decoder, PcodeFactory pfactory) Decode this text from an encoded stream.Methods inherited from class ghidra.app.decompiler.ClangTokenGroup
AddTokenGroup, Child, flatten, getClangFunction, getMaxAddress, getMinAddress, iterator, numChildren, Parent, setHighlight, stream, tokenIterator, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ClangReturnType
-
-
Method Details
-
getDataType
- Returns:
- the data-type represented by this text
-
getVarnode
- Returns:
- a Varnode representing the return value in the function's data-flow
-
decode
Description copied from class:ClangTokenGroupDecode this text from an encoded stream.- Overrides:
decodein classClangTokenGroup- Parameters:
decoder- is the decoder for the streampfactory- is used to look up p-code attributes to associate with tokens- Throws:
DecoderException- for problems decoding the stream
-