Package ghidra.app.decompiler

# Class ClangFunction

java.lang.Object
ghidra.app.decompiler.ClangTokenGroup
ghidra.app.decompiler.ClangFunction

All Implemented Interfaces:
  `ClangNode`, `Iterable<ClangNode>`

public class ClangFunction extends ClangTokenGroup
A grouping of source code tokens representing an entire function

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClangFunction(ClangNode parent, HighFunction hfunc)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ClangFunction`
  `getClangFunction()`
  Get the text representing an entire function of which this is part.
  `HighFunction`
  `getHighFunction()`

  ### Methods inherited from class ghidra.app.decompiler.ClangTokenGroup

  `AddTokenGroup, Child, decode, flatten, getMaxAddress, getMinAddress, iterator, numChildren, Parent, setHighlight, stream, tokenIterator, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface java.lang.Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### ClangFunction

    public ClangFunction(ClangNode parent, HighFunction hfunc)

- ## Method Details

  - ### getClangFunction

    public ClangFunction getClangFunction()
    Description copied from interface: `ClangNode`
    Get the text representing an entire function of which this is part.
    Specified by:
      `getClangFunction` in interface `ClangNode`
    Overrides:
      `getClangFunction` in class `ClangTokenGroup`
    Returns:
      text for the whole function

  - ### getHighFunction

    public HighFunction getHighFunction()
    Returns:
      the HighFunction object represented by this source code