public interface AnnotatedOutput extends Output
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(int amt,
java.lang.String msg)
Add an annotation for a specified amount of subsequent
output.
|
void |
annotate(java.lang.String msg)
Add an annotation for the subsequent output.
|
boolean |
annotates()
Get whether this instance will actually keep annotations.
|
void |
endAnnotation()
End the most recent annotation.
|
int |
getAnnotationWidth()
Get the maximum width of the annotated output.
|
boolean |
isVerbose()
Get whether this instance is intended to keep verbose annotations.
|
alignTo, assertCursor, getCursor, write, write, write, writeByte, writeInt, writeLong, writeShort, writeSleb128, writeUleb128, writeZeroesboolean annotates()
true iff annotations are being keptboolean isVerbose()
true iff annotations are to be verbosevoid annotate(java.lang.String msg)
msg - non-null; the annotation messagevoid annotate(int amt,
java.lang.String msg)
amt - >= 0; the amount of output for this annotation to
covermsg - non-null; the annotation messagevoid endAnnotation()
annotate(java.lang.String).int getAnnotationWidth()
>= 1; the maximum widthCopyright © 2020. All Rights Reserved.