Package ghidra.app.util.pcode
Class StringPcodeFormatter.ToStringAppender
java.lang.Object
ghidra.app.util.pcode.AbstractAppender<String>
ghidra.app.util.pcode.StringPcodeFormatter.ToStringAppender
- Enclosing class:
StringPcodeFormatter
-
Field Summary
Fields inherited from class ghidra.app.util.pcode.AbstractAppender
indent, language -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddefault voidappendLineLabel(long label) Append a line label, usually meant to be on its own lineprotected voidappendString(String string) Append a plain string.finish()Methods inherited from class ghidra.app.util.pcode.AbstractAppender
appendAddressWordOffcut, appendCharacter, appendIndent, appendLabel, appendLineLabelRef, appendMnemonic, appendRawVarnode, appendRegister, appendScalar, appendSpace, appendUnique, appendUserop, getLanguage, stringifyLineLabel, stringifyOpMnemonic, stringifyRawVarnode, stringifyRegister, stringifyScalarValue, stringifySpace, stringifyUnique, stringifyUserop, stringifyUseropUnchecked, stringifyWordOffcut
-
Constructor Details
-
ToStringAppender
-
-
Method Details
-
appendEndOfLine
protected void appendEndOfLine() -
appendString
Description copied from class:AbstractAppenderAppend a plain string.By default, all append method delegate to this, so either it must be implemented, or every other append method must be overridden to avoid ever invoking this method. The default implementation throws an assertion error.
- Overrides:
appendStringin classAbstractAppender<String>- Parameters:
string- the string to append
-
finish
-
appendLineLabel
default void appendLineLabel(long label) Append a line label, usually meant to be on its own line- Parameters:
label- the label number
-