org.eclipse.xtext.formatting.impl
Class AbstractNodeModelFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractNodeModelFormatter
All Implemented Interfaces:
INodeModelFormatter
Direct Known Subclasses:
DefaultNodeModelFormatter

public abstract class AbstractNodeModelFormatter
extends java.lang.Object
implements INodeModelFormatter

Author:
Moritz Eysholdt - Initial contribution and API

Nested Class Summary
static class AbstractNodeModelFormatter.FormattedRegion
           
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.formatting.INodeModelFormatter
INodeModelFormatter.IFormattedRegion
 
Constructor Summary
AbstractNodeModelFormatter()
           
 
Method Summary
 INodeModelFormatter.IFormattedRegion format(ICompositeNode root, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNodeModelFormatter

public AbstractNodeModelFormatter()
Method Detail

format

public INodeModelFormatter.IFormattedRegion format(ICompositeNode root,
                                                   int offset,
                                                   int length)
Specified by:
format in interface INodeModelFormatter