Package ghidra.app.decompiler
Class ClangSyntaxToken
- java.lang.Object
-
- ghidra.app.decompiler.ClangToken
-
- ghidra.app.decompiler.ClangSyntaxToken
-
- All Implemented Interfaces:
ClangNode
public class ClangSyntaxToken extends ClangToken
A C code token which is not an operation, variable, function name, or type. Like '(' or ',' A SyntaxToken may be or may include spacing
-
-
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 ClangSyntaxToken(ClangNode par)
ClangSyntaxToken(ClangNode par, java.lang.String txt)
ClangSyntaxToken(ClangNode par, java.lang.String txt, java.lang.String col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClose()
int
getOpen()
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
-
-
-
-
Method Detail
-
isVariableRef
public boolean isVariableRef()
- Overrides:
isVariableRef
in classClangToken
-
restoreFromXML
public void restoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory)
- Overrides:
restoreFromXML
in classClangToken
-
getOpen
public int getOpen()
-
getClose
public int getClose()
-
-