Package ghidra.app.decompiler
Class ClangTypeToken
- java.lang.Object
-
- ghidra.app.decompiler.ClangToken
-
- ghidra.app.decompiler.ClangTypeToken
-
- All Implemented Interfaces:
ClangNode
public class ClangTypeToken extends ClangToken
A C code token representing a data type. This does not include qualifiers on the type like '*' (pointer to) or '[]' (array of). There should be no whitespace in the name
-
-
Field Summary
-
Fields inherited from class ghidra.app.decompiler.ClangToken
COMMENT_COLOR, CONST_COLOR, DEFAULT_COLOR, FUNCTION_COLOR, GLOBAL_COLOR, KEYWORD_COLOR, PARAMETER_COLOR, TYPE_COLOR, VARIABLE_COLOR
-
-
Constructor Summary
Constructors Constructor Description ClangTypeToken(ClangNode par)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
getDataType()
boolean
isVariableRef()
void
restoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory)
-
Methods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getColor, getHighlight, getHighVariable, getLineParent, getMaxAddress, getMinAddress, getPcodeOp, getSyntaxType, getText, getVarnode, isMatchingToken, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
-
-
-
Constructor Detail
-
ClangTypeToken
public ClangTypeToken(ClangNode par)
-
-
Method Detail
-
isVariableRef
public boolean isVariableRef()
- Overrides:
isVariableRef
in classClangToken
-
getDataType
public DataType getDataType()
-
restoreFromXML
public void restoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory)
- Overrides:
restoreFromXML
in classClangToken
-
-