|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.xtext.formatting.impl.AbstractFormatter
org.eclipse.xtext.formatting.impl.BaseFormatter
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
org.eclipse.ocl.examples.xtext.base.formatting.AbstractBaseFormatter
org.eclipse.ocl.examples.xtext.essentialocl.formatting.AbstractEssentialOCLFormatter
org.eclipse.ocl.examples.xtext.oclstdlib.formatting.OCLstdlibFormatter
public class OCLstdlibFormatter
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 org.eclipse.xtext.xtext.XtextFormattingTokenSerializer
as an example
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter |
---|
org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter.ConfigStore |
Field Summary |
---|
Fields inherited from class org.eclipse.xtext.formatting.impl.BaseFormatter |
---|
grammar |
Constructor Summary | |
---|---|
OCLstdlibFormatter()
|
Method Summary | |
---|---|
protected void |
configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
|
OCLstdlibGrammarAccess |
getGrammarAccess()
|
Methods inherited from class org.eclipse.ocl.examples.xtext.essentialocl.formatting.AbstractEssentialOCLFormatter |
---|
configureCollectionLiteralExpCS, configureCollectionTypeCS, configureEssentialOCLNavigationOperatorCS, configureIfExpCS, configureLetExpCS, configureMultiplicityBoundsCS, configureMultiplicityCS, configureMultiplicityStringCS, configureNavigatingCommaArgCS, configureNavigatingSemiArgCS, configureNestedExpCS, configurePathNameCS, configurePrimaryExpCS, configureTupleLiteralExpCS, configureTupleTypeCS, configureURIPathNameCS |
Methods inherited from class org.eclipse.ocl.examples.xtext.base.formatting.AbstractBaseFormatter |
---|
setAppendedBraces, setBraces, setNoSpaceLineWrap |
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 |
---|
public OCLstdlibFormatter()
Method Detail |
---|
protected void configureFormatting(org.eclipse.xtext.formatting.impl.FormattingConfig c)
configureFormatting
in class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
public OCLstdlibGrammarAccess getGrammarAccess()
getGrammarAccess
in class org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |