org.eclipse.xtext.formatting.impl
Class BaseFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormatter
      extended by org.eclipse.xtext.formatting.impl.BaseFormatter
All Implemented Interfaces:
IFormatter
Direct Known Subclasses:
AbstractDeclarativeFormatter, OneWhitespaceFormatter

public class BaseFormatter
extends AbstractFormatter

Author:
Moritz Eysholdt - Initial contribution and API

Field Summary
protected  IGrammarAccess grammar
           
 
Constructor Summary
BaseFormatter()
           
 
Method Summary
protected  TerminalRule getWSRule()
           
 
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractFormatter
createFormatterStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grammar

@Inject
protected IGrammarAccess grammar
Constructor Detail

BaseFormatter

public BaseFormatter()
Method Detail

getWSRule

protected TerminalRule getWSRule()