Class Format
java.lang.Object
org.eolang.jeo.representation.directives.Format
Output format of the XMIR representation.
- Since:
- 0.14.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringShould method modifiers be included in the output.static final StringBytecode listing.static final StringDisassemble mode.static final StringShould method modifiers be included in the output.static final StringPretty print the output.static final StringBytecode listing. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancomments()Should comments be included in the output.listing()Get the listing property.mode()Get the mode property.booleanShould method modifiers be included in the output.booleanpretty()Should the output be pretty printed.booleanShould listing be included in the output.
-
Field Details
-
COMMENTS
Should method modifiers be included in the output. Expected to be a boolean value.- See Also:
-
MODIFIERS
Should method modifiers be included in the output. Expected to be a boolean value.- See Also:
-
LISTING
Bytecode listing. Expected to be a string value.- See Also:
-
WITH_LISTING
Bytecode listing. Expected to be a string value.- See Also:
-
PRETTY
Pretty print the output. Expected to be a boolean value.- See Also:
-
MODE
Disassemble mode. Expected to be a string value.- See Also:
-
-
Constructor Details
-
Format
Prepare pairs of properties.- Parameters:
pairs- Pairs of properties, each pair consists of a name and a value.
-
Format
Prepare pairs of properties.- Parameters:
format- Existing format to extend.pairs- Pairs of properties, each pair consists of a name and a value.
-
-
Method Details
-
modifiers
public boolean modifiers()Should method modifiers be included in the output.- Returns:
- True if modifiers are included, false otherwise.
-
comments
public boolean comments()Should comments be included in the output.- Returns:
- True if comments are included, false otherwise.
-
pretty
public boolean pretty()Should the output be pretty printed.- Returns:
- True if pretty printing is enabled, false otherwise.
-
listing
Get the listing property.- Returns:
- Listing value of the property.
-
withListing
public boolean withListing()Should listing be included in the output.- Returns:
- True if listing is included, false otherwise.
-
mode
Get the mode property.- Returns:
- Mode value of the property.
-