Package ghidra.app.decompiler
Class ClangFieldToken
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangFieldToken
- All Implemented Interfaces:
- ClangNode
A source code token representing a structure field.
- 
Field SummaryFields inherited from class ghidra.app.decompiler.ClangTokenCOMMENT_COLOR, CONST_COLOR, DEFAULT_COLOR, ERROR_COLOR, FUNCTION_COLOR, GLOBAL_COLOR, KEYWORD_COLOR, MAX_COLOR, PARAMETER_COLOR, SPECIAL_COLOR, TYPE_COLOR, VARIABLE_COLOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddecode(Decoder decoder, PcodeFactory pfactory) Decode this token from the current position in an encoded streamintMany tokens directly represent a pcode operator in the data-flowMethods inherited from class ghidra.app.decompiler.ClangTokenbuildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getHighSymbol, getHighVariable, getLineParent, getMaxAddress, getMinAddress, getScalar, getSyntaxType, getText, getVarnode, isMatchingToken, isVariableRef, iterator, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
- 
Constructor Details- 
ClangFieldToken
 
- 
- 
Method Details- 
getDataType- Returns:
- the structure datatype associated with this field token
 
- 
getOffsetpublic int getOffset()- Returns:
- the byte offset of this field with its structure
 
- 
getPcodeOpDescription copied from class:ClangTokenMany tokens directly represent a pcode operator in the data-flow- Overrides:
- getPcodeOpin class- ClangToken
- Returns:
- the operation (PcodeOp) associated with this token or null
 
- 
decodeDescription copied from class:ClangTokenDecode this token from the current position in an encoded stream- Overrides:
- decodein class- ClangToken
- Parameters:
- decoder- is the decoder for the stream
- pfactory- is used to look up p-code objects associated with the token
- Throws:
- DecoderException- for problems decoding the stream
 
 
-