Package ghidra.app.decompiler
Class ClangFieldToken
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangFieldToken
- All Implemented Interfaces:
ClangNode
A C code token representing a structure field.
-
Field Summary
Fields inherited from class ghidra.app.decompiler.ClangToken
COMMENT_COLOR, CONST_COLOR, DEFAULT_COLOR, ERROR_COLOR, FUNCTION_COLOR, GLOBAL_COLOR, KEYWORD_COLOR, MAX_COLOR, PARAMETER_COLOR, SPECIAL_COLOR, TYPE_COLOR, VARIABLE_COLOR -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionNEWvoiddecode(Decoder decoder, PcodeFactory pfactory) intNEWMany tokens directly represent a pcode operator in the data-flowREMOVEDvoidrestoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory) RemovedMethods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getHighVariable, getLineParent, getMaxAddress, getMinAddress, getSyntaxType, getText, getVarnode, isMatchingToken, isVariableRef, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
Constructor Details
-
ClangFieldToken
-
-
Method Details
-
getDataType
- Returns:
- the structure datatype associated with this field token
-
getOffset
public int getOffset()- Returns:
- the byte offset of this field with its structure
-
getPcodeOp NEW
Description copied from class:ClangTokenMany tokens directly represent a pcode operator in the data-flow- Overrides:
getPcodeOpin classClangToken- Returns:
- the operation (PcodeOp) associated with this token or null
-
decode NEW
- Overrides:
decodein classClangToken- Throws:
DecoderException
-