Package ghidra.app.decompiler
Class ClangStatement
- java.lang.Object
-
- ghidra.app.decompiler.ClangTokenGroup
-
- ghidra.app.decompiler.ClangStatement
-
public class ClangStatement extends ClangTokenGroup
A C code statement. What typically appears between the ';' '{' and '}' characters. A statement must have a pcode operation associated with it. In the case of conditional flow control operations, there are usually two lines associated with the statement one containing the '{' and one containing '}'. The one containing the actual conditional branch is considered a C statement, while the other one is just considered a blank line. I.e. if (expression) { is a C statement, while the line containing the closing '}' by itself is considered blank
-
-
Constructor Summary
Constructors Constructor Description ClangStatement(ClangNode par)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PcodeOp
getPcodeOp()
void
restoreFromXML(XmlPullParser parser, PcodeFactory pfactory)
-
Methods inherited from class ghidra.app.decompiler.ClangTokenGroup
AddTokenGroup, Child, flatten, getClangFunction, getMaxAddress, getMinAddress, iterator, numChildren, Parent, setHighlight, stream, toString
-
-
-
-
Constructor Detail
-
ClangStatement
public ClangStatement(ClangNode par)
-
-
Method Detail
-
getPcodeOp
public PcodeOp getPcodeOp()
-
restoreFromXML
public void restoreFromXML(XmlPullParser parser, PcodeFactory pfactory)
- Overrides:
restoreFromXML
in classClangTokenGroup
-
-