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
ConstructorsConstructorDescriptionClangSyntaxToken
(ClangNode par, String txt) ClangSyntaxToken
(ClangNode par, String txt, int color) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(Decoder decoder, PcodeFactory pfactory) int
getClose()
int
getOpen()
boolean
Methods 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:
isVariableRef
in classClangToken
-
decode
- Overrides:
decode
in classClangToken
- Throws:
DecoderException
-
getOpen
public int getOpen() -
getClose
public int getClose()
-