Package ghidra.app.util.html
Class FunctionDataTypeHTMLRepresentation
java.lang.Object
ghidra.app.util.html.HTMLDataTypeRepresentation
ghidra.app.util.html.FunctionDataTypeHTMLRepresentation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ValidatableLine> protected TextLineprotected TextLineprotected TextLineprotected TextLineFields inherited from class ghidra.app.util.html.HTMLDataTypeRepresentation
ALIGNMENT_PREFIX, BR, CHARACTER_SPACE, DIFF_COLOR, ELLIPSES, EMPTY_TAG, END_COMMENT, FORWARD_SLASH, HTML_CLOSE, HTML_OPEN, HTML_SPACE, INDENT_CLOSE, INDENT_OPEN, LENGTH_PREFIX, MAX_CHARACTER_LENGTH, MAX_COMPONENTS, MAX_LINE_LENGTH, MIDDLE_COMMENT, originalHTMLData, START_COMMENT, TAB, TABLE_CLOSE, TABLE_OPEN, TD_CLOSE, TD_OPEN, TR_CLOSE, TR_OPEN, TT_CLOSE, TT_OPEN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PlaceHolderLinecreatePlaceHolderLine(ValidatableLine oppositeLine) Extension point for adding empty lines.diff(HTMLDataTypeRepresentation otherRepresentation) Compares this representation and the given representation creates a diff string for both representations.This is likeHTMLDataTypeRepresentation.getHTMLString(), but does not put HTML tags around the dataReturns an HTML string for this data representation object.Methods inherited from class ghidra.app.util.html.HTMLDataTypeRepresentation
addDataTypeLength, addDataTypeLengthAndAlignment, buildFooterText, buildHeaderText, completelyDifferentDiff, copyLines, createCommentLines, diffTextLine, generateTypeName, getCommentForDataType, getDataTypeLengthString, getDiffInput, getDiffInput, getFullHTMLContentString, getFullHTMLString, truncateAsNecessary, truncateAsNecessary, wrapStringInColor
-
Field Details
-
returnType
-
functionName
-
arguments
-
varArgs
-
voidArgs
-
-
Constructor Details
-
FunctionDataTypeHTMLRepresentation
-
-
Method Details
-
getHTMLString
Description copied from class:HTMLDataTypeRepresentationReturns an HTML string for this data representation object. The HTML returned will be truncated if it is too long. To get the full HTML, callHTMLDataTypeRepresentation.getFullHTMLString().- Overrides:
getHTMLStringin classHTMLDataTypeRepresentation- Returns:
- the html
- See Also:
-
getHTMLContentString
Description copied from class:HTMLDataTypeRepresentationThis is likeHTMLDataTypeRepresentation.getHTMLString(), but does not put HTML tags around the data- Overrides:
getHTMLContentStringin classHTMLDataTypeRepresentation- Returns:
- the content
-
createPlaceHolderLine
Description copied from class:HTMLDataTypeRepresentationExtension point for adding empty lines. Subclasses that do not wish to use the default empty text line can override this method.- Overrides:
createPlaceHolderLinein classHTMLDataTypeRepresentation- Parameters:
oppositeLine- the line that will go along with the newly created placeholder line- Returns:
- the placeholder line
-
diff
Description copied from class:HTMLDataTypeRepresentationCompares this representation and the given representation creates a diff string for both representations.- Specified by:
diffin classHTMLDataTypeRepresentation- Parameters:
otherRepresentation- the other representation to diff against.- Returns:
- An array of two strings: the first is this object's diff value, the second is the given objects diff value.
-