Package org.parboiled.common
Interface Formatter<T>
- Type Parameters:
T- The type to transform.
- All Known Implementing Classes:
DefaultInvalidInputErrorFormatter,NodeFormatter,ToStringFormatter
public interface Formatter<T>
The capability to transform an object of type T into a string representation.
-
Method Summary
-
Method Details
-
format
Create a string representation for the given object.- Parameters:
object- the object to format- Returns:
- a string describing the object
-