Package ghidra.app.decompiler
Class ClangCommentToken
- java.lang.Object
-
- ghidra.app.decompiler.ClangToken
-
- ghidra.app.decompiler.ClangCommentToken
-
- All Implemented Interfaces:
ClangNode
public class ClangCommentToken extends ClangToken
-
-
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 ClangCommentToken(ClangNode par)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClangCommentToken
derive(ClangCommentToken source, java.lang.String text)
Address
getMaxAddress()
Address
getMinAddress()
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, getPcodeOp, getSyntaxType, getText, getVarnode, isMatchingToken, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
-
-
-
Constructor Detail
-
ClangCommentToken
public ClangCommentToken(ClangNode par)
-
-
Method Detail
-
derive
public static ClangCommentToken derive(ClangCommentToken source, java.lang.String text)
-
isVariableRef
public boolean isVariableRef()
- Overrides:
isVariableRef
in classClangToken
-
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
-
-