Package ghidra.app.decompiler
Class ClangBreak
java.lang.Object
ghidra.app.decompiler.ClangToken
ghidra.app.decompiler.ClangBreak
- All Implemented Interfaces:
ClangNode
A line break in source code plus the indenting for the following line.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(Decoder decoder, PcodeFactory pfactory) Decode this token from the current position in an encoded streamint
Methods inherited from class ghidra.app.decompiler.ClangToken
buildSpacer, buildToken, Child, flatten, getClangFunction, getHighlight, getHighSymbol, getHighVariable, getLineParent, getMaxAddress, getMinAddress, getPcodeOp, getScalar, getSyntaxType, getText, getVarnode, isMatchingToken, isVariableRef, iterator, numChildren, Parent, setHighlight, setLineParent, setMatchingToken, toString
-
Constructor Details
-
ClangBreak
-
ClangBreak
-
-
Method Details
-
getIndent
public int getIndent()- Returns:
- the number of indent levels following this line break
-
decode
Description copied from class:ClangToken
Decode this token from the current position in an encoded stream- Overrides:
decode
in classClangToken
- Parameters:
decoder
- is the decoder for the streampfactory
- is used to look up p-code objects associated with the token- Throws:
DecoderException
- for problems decoding the stream
-