-
- All Known Implementing Classes:
MCDOutputBuffer,MCDPrintBuffer,PlainMCDOutput
public interface MCDOutputOutput interface for decoded machine code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MCDOutputdecreaseIndent()Decreases the indent level of all following print calls:MCDOutputincreaseIndent()Increases the indent level of all following print calls:MCDOutputprint(java.lang.String text)Prints a standard text.MCDOutputprintComment(java.lang.String comment)Prints a comment text.MCDOutputprintError(java.lang.String error)Prints an error text.MCDOutputprintKeyword(java.lang.String keyword)Prints a keyword text.MCDOutputprintLabel(java.lang.String label)Prints a label text.MCDOutputprintln()Prints a line break.MCDOutputprintln(java.lang.String text)Prints a standard text and a line break.MCDOutputprintlnComment(java.lang.String comment)Prints a comment text and a line break.MCDOutputprintlnError(java.lang.String error)Prints an error text and a line break.MCDOutputprintlnKeyword(java.lang.String keyword)Prints a keyword text and a line break.MCDOutputprintlnLabel(java.lang.String label)Prints a label text and a line break.MCDOutputprintlnOperator(java.lang.String operator)Prints an operator text and a line break.MCDOutputprintlnValue(java.lang.String value)Prints a value text and a line break.MCDOutputprintOperator(java.lang.String operator)Prints an operator text.MCDOutputprintValue(java.lang.String value)Prints a value text.
-
-
-
Method Detail
-
increaseIndent
MCDOutput increaseIndent() throws java.io.IOException
Increases the indent level of all following print calls:- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
decreaseIndent
MCDOutput decreaseIndent() throws java.io.IOException
Decreases the indent level of all following print calls:- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
println
MCDOutput println() throws java.io.IOException
Prints a line break.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
print
MCDOutput print(java.lang.String text) throws java.io.IOException
Prints a standard text.- Parameters:
text- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
println
MCDOutput println(java.lang.String text) throws java.io.IOException
Prints a standard text and a line break.- Parameters:
text- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printValue
MCDOutput printValue(java.lang.String value) throws java.io.IOException
Prints a value text.- Parameters:
value- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnValue
MCDOutput printlnValue(java.lang.String value) throws java.io.IOException
Prints a value text and a line break.- Parameters:
value- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printComment
MCDOutput printComment(java.lang.String comment) throws java.io.IOException
Prints a comment text.- Parameters:
comment- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnComment
MCDOutput printlnComment(java.lang.String comment) throws java.io.IOException
Prints a comment text and a line break.- Parameters:
comment- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printKeyword
MCDOutput printKeyword(java.lang.String keyword) throws java.io.IOException
Prints a keyword text.- Parameters:
keyword- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnKeyword
MCDOutput printlnKeyword(java.lang.String keyword) throws java.io.IOException
Prints a keyword text and a line break.- Parameters:
keyword- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printOperator
MCDOutput printOperator(java.lang.String operator) throws java.io.IOException
Prints an operator text.- Parameters:
operator- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnOperator
MCDOutput printlnOperator(java.lang.String operator) throws java.io.IOException
Prints an operator text and a line break.- Parameters:
operator- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printLabel
MCDOutput printLabel(java.lang.String label) throws java.io.IOException
Prints a label text.- Parameters:
label- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnLabel
MCDOutput printlnLabel(java.lang.String label) throws java.io.IOException
Prints a label text and a line break.- Parameters:
label- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printError
MCDOutput printError(java.lang.String error) throws java.io.IOException
Prints an error text.- Parameters:
error- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
printlnError
MCDOutput printlnError(java.lang.String error) throws java.io.IOException
Prints an error text and a line break.- Parameters:
error- the text to print.- Returns:
- this instance for chaining.
- Throws:
java.io.IOException- if an I/O error occurs.
-
-