Class RightTemplatesFormattingConfigBasedStream
- java.lang.Object
-
- org.eclipse.xtext.formatting.impl.AbstractTokenStream
-
- org.eclipse.xtext.formatting.impl.BaseTokenStream
-
- org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
- com._1c.g5.v8.dt.right.templates.formatting.RightTemplatesFormattingConfigBasedStream
-
- All Implemented Interfaces:
org.eclipse.xtext.parsetree.reconstr.ITokenStream
,org.eclipse.xtext.parsetree.reconstr.ITokenStreamExtension
public class RightTemplatesFormattingConfigBasedStream extends org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
SpecialFormattingConfigBasedStream
for Templates grammar formatter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
RightTemplatesFormattingConfigBasedStream.RightTemplatesLine
SpecialFormattingConfigBasedStream.Line
for Templates grammar formatter.protected class
RightTemplatesFormattingConfigBasedStream.RightTemplatesLineEntry
SpecialFormattingConfigBasedStream.LineEntry
for Templates grammar formatter.
-
Constructor Summary
Constructors Constructor Description RightTemplatesFormattingConfigBasedStream(org.eclipse.xtext.parsetree.reconstr.ITokenStream out, String initialIndentation, org.eclipse.xtext.formatting.impl.FormattingConfig cfg, org.eclipse.xtext.formatting.IElementMatcherProvider.IElementMatcher<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementPattern> matcher, org.eclipse.xtext.parsetree.reconstr.IHiddenTokenHelper hiddenTokenHelper, boolean preserveSpaces)
Initialize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line
createLine()
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line
createLine(int leftover)
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line
createLine(List<org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry> entries)
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line
createLine(List<org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry> initialEntries, int leftover)
org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry
createLineEntry(org.eclipse.emf.ecore.EObject grammarElement, String value, boolean isHidden, Set<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementLocator> beforeLocators, String leadingWS, int indent, org.eclipse.xtext.ParserRule hiddenTokenDefition)
-
-
-
Constructor Detail
-
RightTemplatesFormattingConfigBasedStream
public RightTemplatesFormattingConfigBasedStream(org.eclipse.xtext.parsetree.reconstr.ITokenStream out, String initialIndentation, org.eclipse.xtext.formatting.impl.FormattingConfig cfg, org.eclipse.xtext.formatting.IElementMatcherProvider.IElementMatcher<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementPattern> matcher, org.eclipse.xtext.parsetree.reconstr.IHiddenTokenHelper hiddenTokenHelper, boolean preserveSpaces)
Initialize
-
-
Method Detail
-
createLineEntry
public org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry createLineEntry(org.eclipse.emf.ecore.EObject grammarElement, String value, boolean isHidden, Set<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementLocator> beforeLocators, String leadingWS, int indent, org.eclipse.xtext.ParserRule hiddenTokenDefition)
- Overrides:
createLineEntry
in classorg.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
createLine
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line createLine()
- Overrides:
createLine
in classorg.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
createLine
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line createLine(int leftover)
- Overrides:
createLine
in classorg.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
createLine
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line createLine(List<org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry> entries)
- Overrides:
createLine
in classorg.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
createLine
protected org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.Line createLine(List<org.eclipse.xtext.formatting.impl.FormattingConfigBasedStream.LineEntry> initialEntries, int leftover)
- Overrides:
createLine
in classorg.eclipse.xtext.formatting.impl.FormattingConfigBasedStream
-
-