Package ghidra.app.decompiler
Class ClangFuncNameToken
- java.lang.Object
-
- ghidra.app.decompiler.ClangToken
-
- ghidra.app.decompiler.ClangFuncNameToken
-
- All Implemented Interfaces:
ClangNode
public class ClangFuncNameToken extends ClangToken
A C code token representing a function name It contains a link back to the pcode function object represented by 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 ClangFuncNameToken(ClangNode par, HighFunction hf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HighFunction
getHighFunction()
Address
getMaxAddress()
Address
getMinAddress()
PcodeOp
getPcodeOp()
Many tokens directly represent a pcode operator in the data-flowvoid
restoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory)
-
Methods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getColor, getHighlight, getHighVariable, getLineParent, getSyntaxType, getText, getVarnode, isMatchingToken, isVariableRef, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
-
-
-
Constructor Detail
-
ClangFuncNameToken
public ClangFuncNameToken(ClangNode par, HighFunction hf)
-
-
Method Detail
-
getHighFunction
public HighFunction getHighFunction()
-
getPcodeOp
public PcodeOp getPcodeOp()
Description copied from class:ClangToken
Many tokens directly represent a pcode operator in the data-flow- Overrides:
getPcodeOp
in classClangToken
- Returns:
- the operation (PcodeOp) associated with this token or null
-
getMinAddress
public Address getMinAddress()
- Specified by:
getMinAddress
in interfaceClangNode
- Overrides:
getMinAddress
in classClangToken
-
getMaxAddress
public Address getMaxAddress()
- Specified by:
getMaxAddress
in interfaceClangNode
- Overrides:
getMaxAddress
in classClangToken
-
restoreFromXML
public void restoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory)
- Overrides:
restoreFromXML
in classClangToken
-
-