Class Declaration

java.lang.Object
ghidra.app.util.cparser.C.Declaration

public class Declaration extends Object
Container for information about a Declaration that is accumulated during parsing.
  • Constructor Details

  • Method Details

    • getComment

      public String getComment()
    • getQualifiers

      public List<Integer> getQualifiers()
    • getDataType

      public DataType getDataType()
    • getName

      public String getName()
    • setComment

      public void setComment(String string)
    • addQualifier

      public void addQualifier(int qualifier)
    • addQualifiers

      public void addQualifiers(Declaration dec)
    • setDataType

      public void setDataType(DataType type)
    • setName

      public void setName(String string)
    • getBitFieldSize

      public int getBitFieldSize()
      Returns:
      the currently set bitfield size