Class RightTemplatesFormattingConfigBasedStream.RightTemplatesLineEntry
- java.lang.Object
-
- com._1c.g5.v8.dt.right.templates.formatting.RightTemplatesFormattingConfigBasedStream.RightTemplatesLineEntry
-
- Enclosing class:
- RightTemplatesFormattingConfigBasedStream
protected class RightTemplatesFormattingConfigBasedStream.RightTemplatesLineEntry extends Object
SpecialFormattingConfigBasedStream.LineEntry
for Templates grammar formatter.
For getting more attributes ofFormattingConfigBasedStream.LineEntry
-
-
Constructor Summary
Constructors Constructor Description RightTemplatesLineEntry(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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCountExistingLeadingNewlines()
Gets count new line beforeFormattingConfigBasedStream.LineEntry
org.eclipse.emf.ecore.EObject
getGrammarElm()
Gets grammar rule objectSet<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementLocator>
getLeadingLocators()
Gets allAbstractFormattingConfig.ElementLocator
forFormattingConfigBasedStream.LineEntry
String
getLeadinWs()
Gets leading spaces
-
-
-
Constructor Detail
-
RightTemplatesLineEntry
public RightTemplatesLineEntry(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)
-
-
Method Detail
-
getGrammarElm
public org.eclipse.emf.ecore.EObject getGrammarElm()
Gets grammar rule object- Returns:
- corresponding grammar rule object
-
getLeadinWs
public String getLeadinWs()
Gets leading spaces- Returns:
- leading spaces
-
getCountExistingLeadingNewlines
public int getCountExistingLeadingNewlines()
Gets count new line beforeFormattingConfigBasedStream.LineEntry
- Returns:
- count new lines
-
getLeadingLocators
public Set<org.eclipse.xtext.formatting.impl.AbstractFormattingConfig.ElementLocator> getLeadingLocators()
Gets allAbstractFormattingConfig.ElementLocator
forFormattingConfigBasedStream.LineEntry
- Returns:
- set of
AbstractFormattingConfig.ElementLocator
-
-