Package eu.bandm.tools.d2d2.rt
Class __Formatter
java.lang.Object
eu.bandm.tools.umod.runtime.OptimizingVisitor
eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
eu.bandm.tools.d2d2.rt.__Formatter
(Ancillary class for generating pretty-print format objects).
The user invokes the methods
The user invokes the methods
format()
in
the various model element classes, or Rt.toFormat(Object)
in the main model class. This
class works only in the background.-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
OptimizingVisitor.DataByName
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final Format
protected static final Format
protected static final Format
protected static final Format
int
protected static final Format
int
static String
protected Format
Fields inherited from class eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
_visitor_debug_stream, partial, sccDataRead
Fields inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
affectedClasses, fieldFlags, hasdescend, haspost, haspre, methodname_action, METHODNAME_allFields2codeNumber, METHODNAMEPREFIX_DESCEND, SUFFIX_FILENAME_SCC_DATA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Format
protected void
protected void
action
(FlattenContext el) protected void
action
(ImportContext el) protected void
protected void
protected void
protected void
action
(ResultingChars el) protected void
protected void
protected void
action
(State_perm el) protected void
protected void
action
(State_sequ el) protected void
protected void
protected void
protected void
defaultformat
(Object e0) protected void
foreignObject
(Object e0) Delivers a Format for an object of any class.protected int
getKey()
Overwritten with generated code to return visitor register key number.protected Format
matchChecked
(Object e0) protected Format
void
static Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
protected Format
toFormat
(State_perm el) protected Format
protected Format
toFormat
(State_sequ el) protected Format
protected Format
protected Format
protected Format
Methods inherited from class eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
_visitor_trace, action, action, action, action, action, action, action, action, action, action, action, allFields2codeNumber, compile, followAll_assoc, followAll_consumed, followAll_obligates, followAll_sequ, followAll_subs, followAll_subs, get_class2reachedSccs, get_class2scc, get_field2sccs, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match
Methods inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
calculateFlags, collectFlags, collectFlags_action, collectFlags_actionPreDescendPost, collectFlags_actionRewritefields, collectMethods, getLowestGeneratedClass, readSccData
-
Field Details
-
nulltext
-
process
-
default_indent
public int default_indent -
mode
public int mode -
format_empty
-
result
-
CONST_0
-
CONST_1
-
CONST_2
-
CONST_3
-
-
Constructor Details
-
__Formatter
public __Formatter()
-
-
Method Details
-
getKey
protected int getKey()Description copied from class:OptimizingVisitor
Overwritten with generated code to return visitor register key number.- Overrides:
getKey
in classOptimizingVisitor
-
foreignObject
Delivers a Format for an object of any class.- Overrides:
foreignObject
in classMATCH_ONLY_00
-
nomatch
- Overrides:
nomatch
in classMATCH_ONLY_00
-
process
-
toFormat
-
defaultformat
-
__throwIt
-
matchChecked
-
matchCheckedString
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-
toFormat
-
action
- Overrides:
action
in classMATCH_ONLY_00
-