Class EolComments
Comment types that can be shown include the End of Line comment for the code unit, the Repeatable comment for the code unit, any repeatable comments for the code units that this code unit has references to, and possibly a comment indicating the data at a code unit that is referenced by this code unit. This section describes the various EOL comment types that may appear. The user can toggle which types are enabled. The comments are displayed in the order listed below. EOL Types: - EOL - user end of line comment - Repeatable - user repeatable source comment *at the code unit* - Ref Repeatable- for every reference *from a code unit*, show the target: - address repeatable, - function repeatable, - code unit repeatable - Auto - fabricated reference preview: - function, - indirect data pointer, - direct data access preview *depending on the options, this typically do not appear when repeatable comments exist - Offcut - comments at addresses inside of a code unit
-
Constructor Summary
ConstructorsConstructorDescriptionEolComments(CodeUnit cu, boolean operandsShowReferences, int maxDisplayComments, EolExtraCommentsOption extraCommentsOption) -
Method Summary
Modifier and TypeMethodDescriptionGets the automatic commentsReturn all comments loaded by this classGets the End of Line commentsgetLocation(int eolRow, int eolColumn) Gets the repeatable comments at the "to reference"sGets the repeatable commentsbooleanbooleanbooleanbooleantoString()
-
Constructor Details
-
EolComments
public EolComments(CodeUnit cu, boolean operandsShowReferences, int maxDisplayComments, EolExtraCommentsOption extraCommentsOption)
-
-
Method Details
-
isShowingRepeatables
public boolean isShowingRepeatables() -
isShowingRefRepeatables
public boolean isShowingRefRepeatables() -
isShowingAutoComments
public boolean isShowingAutoComments() -
isShowingOffcutComments
public boolean isShowingOffcutComments() -
getComments
Return all comments loaded by this class- Returns:
- the comments
-
getEOLComments
Gets the End of Line comments- Returns:
- the comments
-
getRepeatableComments
Gets the repeatable comments- Returns:
- the comments
-
getReferencedRepeatableComments
Gets the repeatable comments at the "to reference"s- Returns:
- the comments
-
getAutomaticComment
Gets the automatic comments- Returns:
- the comments
-
getOffcutEolComments
-
toString
-
getRowCol
-
getLocation
-