Package ghidra.app.util.cparser.C
Class Declaration
java.lang.Object
ghidra.app.util.cparser.C.Declaration
Container for information about a Declaration that is accumulated during parsing.
-
Constructor Summary
ConstructorDescriptionDeclaration
(Declaration dec) Declaration
(Declaration subDecl, DataType dt) Declaration
(Declaration dec, String name) Declaration
(DataType dt) Declaration
(DataType dt, String name) Declaration
(DataType dt, String name, String comment) Declaration
(String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQualifier
(int qualifier) void
addQualifiers
(Declaration dec) int
getName()
void
setComment
(String string) void
setDataType
(DataType type) void
-
Constructor Details
-
Declaration
public Declaration() -
Declaration
-
Declaration
- Throws:
ParseException
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
Declaration
-
-
Method Details
-
getComment
-
getQualifiers
-
getDataType
-
getName
-
setComment
-
addQualifier
public void addQualifier(int qualifier) -
addQualifiers
-
setDataType
-
setName
-
getBitFieldSize
public int getBitFieldSize()- Returns:
- the currently set bitfield size
-