Package eu.bandm.tools.lexic
Class Automaton.State
java.lang.Object
eu.bandm.tools.lexic.Automaton.State
- All Implemented Interfaces:
FormatClient
State of an automaton.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<F> F
format
(FormatServer<F> server) Returns a pretty-printable representation of this state.toString()
Returns a human-readable representation of this state.
-
Constructor Details
-
State
protected State()
-
-
Method Details
-
toString
Returns a human-readable representation of this state. -
format
Returns a pretty-printable representation of this state.- Specified by:
format
in interfaceFormatClient
- Type Parameters:
F
- the type of format objects to produce- Parameters:
server
- a factory object that can produce format objects- Returns:
- a format object produced by the server
-