Package org.eclipse.xtext.formatting2
Interface ISubFormatter
-
public interface ISubFormatter
An ISubFormatter is responsible to format a sub document.- Since:
- 2.8
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
format(IFormattableSubDocument document)
Format the given document or throw aFormattingNotApplicableException
if the document cannot be formatted by this formatter.
-
-
-
Method Detail
-
format
void format(IFormattableSubDocument document) throws FormattingNotApplicableException
Format the given document or throw aFormattingNotApplicableException
if the document cannot be formatted by this formatter.- Throws:
FormattingNotApplicableException
-
-