org.eclipse.xtext.generator.parser.antlr.debug.formatting
Class SimpleAntlrFormatter

java.lang.Object
  extended by org.eclipse.xtext.formatting.impl.AbstractFormatter
      extended by org.eclipse.xtext.formatting.impl.BaseFormatter
          extended by org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
              extended by org.eclipse.xtext.generator.parser.antlr.debug.formatting.SimpleAntlrFormatter
All Implemented Interfaces:
IFormatter, IFormatterExtension

public class SimpleAntlrFormatter
extends AbstractDeclarativeFormatter

This class contains custom formatting description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#formatting on how and when to use it Also see XtextFormatter as an example

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
AbstractDeclarativeFormatter.ConfigStore
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter
grammar
 
Constructor Summary
SimpleAntlrFormatter()
           
 
Method Summary
protected  void configureFormatting(FormattingConfig c)
           
protected  SimpleAntlrGrammarAccess getGrammarAccess()
           
 
Methods inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
createFormatterStream, createFormatterStream, createFormattingConfig, createMatcher, getConfig, getHiddenTokenHelper, getIndentInfo, getLineSeparatorInfo, getMatcherProvider, saveDebugGraphvizDiagram, setGrammarAccess
 
Methods inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter
getWSRule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAntlrFormatter

public SimpleAntlrFormatter()
Method Detail

configureFormatting

protected void configureFormatting(FormattingConfig c)
Specified by:
configureFormatting in class AbstractDeclarativeFormatter

getGrammarAccess

protected SimpleAntlrGrammarAccess getGrammarAccess()
Overrides:
getGrammarAccess in class AbstractDeclarativeFormatter