Package ghidra.app.decompiler
Class ClangSyntaxToken
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangSyntaxToken
- All Implemented Interfaces:
ClangNode
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, ERROR_COLOR, FUNCTION_COLOR, GLOBAL_COLOR, KEYWORD_COLOR, MAX_COLOR, PARAMETER_COLOR, SPECIAL_COLOR, TYPE_COLOR, VARIABLE_COLOR -
Constructor Summary
ConstructorsChangeConstructorDescriptionClangSyntaxToken(ClangNode par, String txt) ClangSyntaxToken(ClangNode par, String txt, int color) -
Method Summary
ChangeModifier and TypeMethodDescriptionNEWvoiddecode(Decoder decoder, PcodeFactory pfactory) intgetClose()intgetOpen()booleanREMOVEDvoidrestoreFromXML(XmlElement el, XmlElement end, PcodeFactory pfactory) RemovedMethods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getHighVariable, getLineParent, getMaxAddress, getMinAddress, getPcodeOp, getSyntaxType, getText, getVarnode, isMatchingToken, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
Constructor Details
-
ClangSyntaxToken
-
ClangSyntaxToken
-
ClangSyntaxToken
-
-
Method Details
-
isVariableRef
public boolean isVariableRef()- Overrides:
isVariableRefin classClangToken
-
decode NEW
- Overrides:
decodein classClangToken- Throws:
DecoderException
-
getOpen
public int getOpen() -
getClose
public int getClose()
-