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