summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmusset2009-03-05 12:14:25 (EST)
committer jmusset2009-03-05 12:14:25 (EST)
commit3fca4b073537b3d8fc5bc496807a22872acebbdf (patch)
tree0057140d07f2b7223413adf852f6bef83e53a4da
parent4577d1d8c2f925e340ee48e6514ab96aeb9b5ad1 (diff)
downloadorg.eclipse.acceleo-3fca4b073537b3d8fc5bc496807a22872acebbdf.zip
org.eclipse.acceleo-3fca4b073537b3d8fc5bc496807a22872acebbdf.tar.gz
org.eclipse.acceleo-3fca4b073537b3d8fc5bc496807a22872acebbdf.tar.bz2
format after renaming
-rw-r--r--plugins/org.eclipse.acceleo.parser/model/MTLCST.genmodel351
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Block.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CSTNode.java8
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Comment.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CstPackage.java394
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/FileBlock.java12
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ForBlock.java24
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/IfBlock.java8
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/LetBlock.java8
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Macro.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModelExpression.java16
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleElement.java8
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleExtendsValue.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleImportsValue.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ProtectedAreaBlock.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Query.java8
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Template.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TemplateOverridesValue.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TextExpression.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TraceBlock.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Variable.java12
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/BlockImpl.java17
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CommentImpl.java6
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstFactoryImpl.java6
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstPackageImpl.java9
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/FileBlockImpl.java40
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ForBlockImpl.java102
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/IfBlockImpl.java34
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/InitSectionImpl.java9
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/LetBlockImpl.java34
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/MacroImpl.java12
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModelExpressionImpl.java57
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleElementImpl.java15
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleExtendsValueImpl.java18
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImpl.java12
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImportsValueImpl.java18
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ProtectedAreaBlockImpl.java17
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/QueryImpl.java23
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateExpressionImpl.java15
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateImpl.java26
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateOverridesValueImpl.java18
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TextExpressionImpl.java6
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TraceBlockImpl.java17
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TypedModelImpl.java9
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/VariableImpl.java32
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstAdapterFactory.java92
-rw-r--r--plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstSwitch.java216
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/IAcceleoParserProblemsConstants.java6
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ASTFactory.java36
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverter.java94
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverterWithResolver.java122
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/OCLParser.java20
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/environment/AcceleoEnvironment.java4
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParser.java77
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParserBlock.java123
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/ParserUtils.java11
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/Sequence.java3
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/SequenceBlock.java3
-rw-r--r--plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/parser/AcceleoParser.java4
59 files changed, 1003 insertions, 1249 deletions
diff --git a/plugins/org.eclipse.acceleo.parser/model/MTLCST.genmodel b/plugins/org.eclipse.acceleo.parser/model/MTLCST.genmodel
index b480236..f72df30 100644
--- a/plugins/org.eclipse.acceleo.parser/model/MTLCST.genmodel
+++ b/plugins/org.eclipse.acceleo.parser/model/MTLCST.genmodel
@@ -1,245 +1,118 @@
-<?xml version="1.0" encoding="ASCII"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.acceleo.parser/src-gen" editDirectory="/org.eclipse.acceleo.parser.edit/src-gen" editorDirectory="/org.eclipse.acceleo.parser.editor/src-gen" modelPluginID="org.eclipse.acceleo.parser" modelName="MTLCST" editPluginClass="org.eclipse.acceleo.parser.provider.MtlEditPlugin" editorPluginClass="org.eclipse.acceleo.parser.presentation.MtlEditorPlugin" nonNLSMarkers="true" testsDirectory="/org.eclipse.acceleo.parser.tests/src-gen" testSuiteClass="org.eclipse.acceleo.parser.tests.MtlAllTests" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false">
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.acceleo.parser/src-gen"
+ editDirectory="/org.eclipse.acceleo.parser.edit/src-gen" editorDirectory="/org.eclipse.acceleo.parser.editor/src-gen"
+ modelPluginID="org.eclipse.acceleo.parser" modelName="MTLCST" editPluginClass="org.eclipse.acceleo.parser.provider.MtlEditPlugin"
+ editorPluginClass="org.eclipse.acceleo.parser.presentation.MtlEditorPlugin" nonNLSMarkers="true"
+ testsDirectory="/org.eclipse.acceleo.parser.tests/src-gen" testSuiteClass="org.eclipse.acceleo.parser.tests.MtlAllTests"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
+ usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
<foreignModel>MTLCST.ecore</foreignModel>
- <genPackages prefix="Cst" basePackage="org.eclipse.acceleo.parser" disposableProviderFactory="true">
- <ecorePackage href="MTLCST.ecore#/"/>
- <genEnums typeSafeEnumCompatible="false">
- <ecoreEnum href="MTLCST.ecore#//VisibilityKind"/>
- <genEnumLiterals>
- <ecoreEnumLiteral href="MTLCST.ecore#//VisibilityKind/Private"/>
- </genEnumLiterals>
- <genEnumLiterals>
- <ecoreEnumLiteral href="MTLCST.ecore#//VisibilityKind/Protected"/>
- </genEnumLiterals>
- <genEnumLiterals>
- <ecoreEnumLiteral href="MTLCST.ecore#//VisibilityKind/Public"/>
- </genEnumLiterals>
+ <genPackages prefix="Cst" basePackage="org.eclipse.acceleo.parser" disposableProviderFactory="true"
+ ecorePackage="MTLCST.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="MTLCST.ecore#//VisibilityKind">
+ <genEnumLiterals ecoreEnumLiteral="MTLCST.ecore#//VisibilityKind/Private"/>
+ <genEnumLiterals ecoreEnumLiteral="MTLCST.ecore#//VisibilityKind/Protected"/>
+ <genEnumLiterals ecoreEnumLiteral="MTLCST.ecore#//VisibilityKind/Public"/>
</genEnums>
- <genEnums typeSafeEnumCompatible="false">
- <ecoreEnum href="MTLCST.ecore#//OpenModeKind"/>
- <genEnumLiterals>
- <ecoreEnumLiteral href="MTLCST.ecore#//OpenModeKind/Append"/>
- </genEnumLiterals>
- <genEnumLiterals>
- <ecoreEnumLiteral href="MTLCST.ecore#//OpenModeKind/OverWrite"/>
- </genEnumLiterals>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="MTLCST.ecore#//OpenModeKind">
+ <genEnumLiterals ecoreEnumLiteral="MTLCST.ecore#//OpenModeKind/Append"/>
+ <genEnumLiterals ecoreEnumLiteral="MTLCST.ecore#//OpenModeKind/OverWrite"/>
</genEnums>
- <genClasses image="false">
- <ecoreClass href="MTLCST.ecore#//CSTNode"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//CSTNode/startPosition"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//CSTNode/endPosition"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Module"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Module/input"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Module/ownedModuleElement"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Module/extends"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Module/imports"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//ModuleExtendsValue"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//ModuleExtendsValue/name"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//ModuleImportsValue"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//ModuleImportsValue/name"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//TypedModel"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//TypedModel/takesTypesFrom"/>
- </genFeatures>
- </genClasses>
- <genClasses image="false">
- <ecoreClass href="MTLCST.ecore#//ModuleElement"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//ModuleElement/name"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//ModuleElement/visibility"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Comment"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//Comment/body"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Template"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Template/overrides"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Template/parameter"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Template/guard"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//TemplateOverridesValue"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//TemplateOverridesValue/name"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Variable"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//Variable/name"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//Variable/type"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Variable/initExpression"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//TemplateExpression"/>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//ModelExpression"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//ModelExpression/body"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ModelExpression/before"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ModelExpression/each"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ModelExpression/after"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//TextExpression"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//TextExpression/value"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Block"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Block/init"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Block/body"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//InitSection"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//InitSection/variable"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//ProtectedAreaBlock"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ProtectedAreaBlock/marker"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//ForBlock"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/loopVariable"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/iterSet"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/before"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/each"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/after"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//ForBlock/guard"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//IfBlock"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//IfBlock/ifExpr"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//IfBlock/else"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//IfBlock/elseIf"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//LetBlock"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//LetBlock/elseLet"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//LetBlock/else"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//LetBlock/letVariable"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//FileBlock"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//FileBlock/openMode"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//FileBlock/fileUrl"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//FileBlock/uniqId"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//TraceBlock"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//TraceBlock/modelElement"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Macro"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Macro/parameter"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//Macro/type"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="MTLCST.ecore#//Query"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Query/parameter"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="MTLCST.ecore#//Query/type"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="MTLCST.ecore#//Query/expression"/>
- </genFeatures>
+ <genClasses image="false" ecoreClass="MTLCST.ecore#//CSTNode">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//CSTNode/startPosition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//CSTNode/endPosition"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Module">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Module/input"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Module/ownedModuleElement"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Module/extends"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EReference MTLCST.ecore#//Module/imports"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//ModuleExtendsValue">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//ModuleExtendsValue/name"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//ModuleImportsValue">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//ModuleImportsValue/name"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//TypedModel">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference MTLCST.ecore#//TypedModel/takesTypesFrom"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="MTLCST.ecore#//ModuleElement">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//ModuleElement/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//ModuleElement/visibility"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Comment">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//Comment/body"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Template">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Template/overrides"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Template/parameter"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Template/guard"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//TemplateOverridesValue">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//TemplateOverridesValue/name"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Variable">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//Variable/name"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EAttribute MTLCST.ecore#//Variable/type"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Variable/initExpression"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//TemplateExpression"/>
+ <genClasses ecoreClass="MTLCST.ecore#//ModelExpression">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//ModelExpression/body"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ModelExpression/before"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ModelExpression/each"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ModelExpression/after"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//TextExpression">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//TextExpression/value"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Block">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Block/init"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Block/body"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//InitSection">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//InitSection/variable"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//ProtectedAreaBlock">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ProtectedAreaBlock/marker"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//ForBlock">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/loopVariable"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/iterSet"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/before"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/each"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/after"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//ForBlock/guard"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//IfBlock">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//IfBlock/ifExpr"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//IfBlock/else"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//IfBlock/elseIf"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//LetBlock">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//LetBlock/elseLet"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//LetBlock/else"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//LetBlock/letVariable"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//FileBlock">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//FileBlock/openMode"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//FileBlock/fileUrl"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//FileBlock/uniqId"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//TraceBlock">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//TraceBlock/modelElement"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Macro">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Macro/parameter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//Macro/type"/>
+ </genClasses>
+ <genClasses ecoreClass="MTLCST.ecore#//Query">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Query/parameter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute MTLCST.ecore#//Query/type"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference MTLCST.ecore#//Query/expression"/>
</genClasses>
</genPackages>
- <usedGenPackages href="../../../plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore"/>
</genmodel:GenModel>
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Block.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Block.java
index 1c7c08a..90644c2 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Block.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Block.java
@@ -44,8 +44,8 @@ public interface Block extends TemplateExpression {
InitSection getInit();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Block#getInit <em>Init</em>}' containment reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Block#getInit <em>Init</em>}' containment
+ * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Init</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CSTNode.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CSTNode.java
index 8c549db..38903d8 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CSTNode.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CSTNode.java
@@ -45,8 +45,8 @@ public interface CSTNode extends EObject {
int getStartPosition();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.CSTNode#getStartPosition <em>Start Position</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.CSTNode#getStartPosition
+ * <em>Start Position</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Start Position</em>' attribute.
@@ -72,8 +72,8 @@ public interface CSTNode extends EObject {
int getEndPosition();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.CSTNode#getEndPosition <em>End Position</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.CSTNode#getEndPosition
+ * <em>End Position</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>End Position</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Comment.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Comment.java
index 2e7ad37..4179bd1 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Comment.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Comment.java
@@ -42,8 +42,8 @@ public interface Comment extends ModuleElement, TemplateExpression {
String getBody();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Comment#getBody <em>Body</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Comment#getBody <em>Body</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Body</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CstPackage.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CstPackage.java
index 41f1a11..e448d42 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CstPackage.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/CstPackage.java
@@ -62,8 +62,8 @@ public interface CstPackage extends EPackage {
CstPackage eINSTANCE = org.eclipse.acceleo.parser.cst.impl.CstPackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}' class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.CSTNode
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getCSTNode()
@@ -99,8 +99,8 @@ public interface CstPackage extends EPackage {
int CST_NODE_FEATURE_COUNT = 2;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl <em>Module</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl <em>Module</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.ModuleImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getModule()
@@ -333,8 +333,8 @@ public interface CstPackage extends EPackage {
int MODULE_IMPORTS_VALUE_FEATURE_COUNT = CST_NODE_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TypedModelImpl <em>Typed Model</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TypedModelImpl
+ * <em>Typed Model</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.TypedModelImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getTypedModel()
@@ -379,8 +379,8 @@ public interface CstPackage extends EPackage {
int TYPED_MODEL_FEATURE_COUNT = CST_NODE_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleElementImpl <em>Module Element</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleElementImpl
+ * <em>Module Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.ModuleElementImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getModuleElement()
@@ -433,8 +433,8 @@ public interface CstPackage extends EPackage {
int MODULE_ELEMENT_FEATURE_COUNT = CST_NODE_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.CommentImpl <em>Comment</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.CommentImpl <em>Comment</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.CommentImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getComment()
@@ -532,8 +532,8 @@ public interface CstPackage extends EPackage {
int TEMPLATE_EXPRESSION_FEATURE_COUNT = CST_NODE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.BlockImpl <em>Block</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.BlockImpl <em>Block</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.BlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getBlock()
@@ -587,8 +587,8 @@ public interface CstPackage extends EPackage {
int BLOCK_FEATURE_COUNT = TEMPLATE_EXPRESSION_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TemplateImpl <em>Template</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TemplateImpl <em>Template</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.TemplateImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getTemplate()
@@ -731,8 +731,8 @@ public interface CstPackage extends EPackage {
int TEMPLATE_OVERRIDES_VALUE_FEATURE_COUNT = CST_NODE_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.VariableImpl <em>Variable</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.VariableImpl <em>Variable</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.VariableImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getVariable()
@@ -910,8 +910,8 @@ public interface CstPackage extends EPackage {
int TEXT_EXPRESSION_FEATURE_COUNT = TEMPLATE_EXPRESSION_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.InitSectionImpl <em>Init Section</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.InitSectionImpl
+ * <em>Init Section</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.InitSectionImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getInitSection()
@@ -1020,8 +1020,8 @@ public interface CstPackage extends EPackage {
int PROTECTED_AREA_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ForBlockImpl <em>For Block</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.ForBlockImpl <em>For Block</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.ForBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getForBlock()
@@ -1129,8 +1129,8 @@ public interface CstPackage extends EPackage {
int FOR_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 6;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.IfBlockImpl <em>If Block</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.IfBlockImpl <em>If Block</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.IfBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getIfBlock()
@@ -1211,8 +1211,8 @@ public interface CstPackage extends EPackage {
int IF_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.LetBlockImpl <em>Let Block</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.LetBlockImpl <em>Let Block</em>}
+ * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.LetBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getLetBlock()
@@ -1293,8 +1293,8 @@ public interface CstPackage extends EPackage {
int LET_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.FileBlockImpl <em>File Block</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.FileBlockImpl
+ * <em>File Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.FileBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getFileBlock()
@@ -1375,8 +1375,8 @@ public interface CstPackage extends EPackage {
int FILE_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TraceBlockImpl <em>Trace Block</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.TraceBlockImpl
+ * <em>Trace Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.TraceBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getTraceBlock()
@@ -1439,8 +1439,8 @@ public interface CstPackage extends EPackage {
int TRACE_BLOCK_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 1;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.MacroImpl <em>Macro</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.MacroImpl <em>Macro</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.MacroImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getMacro()
@@ -1528,8 +1528,8 @@ public interface CstPackage extends EPackage {
int MACRO_FEATURE_COUNT = BLOCK_FEATURE_COUNT + 4;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.QueryImpl <em>Query</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.impl.QueryImpl <em>Query</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.QueryImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getQuery()
@@ -1608,8 +1608,8 @@ public interface CstPackage extends EPackage {
int QUERY_FEATURE_COUNT = MODULE_ELEMENT_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.VisibilityKind <em>Visibility Kind</em>}' enum.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.VisibilityKind
+ * <em>Visibility Kind</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.VisibilityKind
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getVisibilityKind()
@@ -1618,8 +1618,8 @@ public interface CstPackage extends EPackage {
int VISIBILITY_KIND = 23;
/**
- * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.OpenModeKind <em>Open Mode Kind</em>}' enum.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object id for the '{@link org.eclipse.acceleo.parser.cst.OpenModeKind <em>Open Mode Kind</em>}
+ * ' enum. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.OpenModeKind
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getOpenModeKind()
@@ -1628,8 +1628,8 @@ public interface CstPackage extends EPackage {
int OPEN_MODE_KIND = 24;
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>CST Node</em>'.
* @see org.eclipse.acceleo.parser.cst.CSTNode
@@ -1638,8 +1638,9 @@ public interface CstPackage extends EPackage {
EClass getCSTNode();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.CSTNode#getStartPosition
- * <em>Start Position</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.CSTNode#getStartPosition <em>Start Position</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Start Position</em>'.
* @see org.eclipse.acceleo.parser.cst.CSTNode#getStartPosition()
@@ -1649,8 +1650,9 @@ public interface CstPackage extends EPackage {
EAttribute getCSTNode_StartPosition();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.CSTNode#getEndPosition
- * <em>End Position</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.CSTNode#getEndPosition <em>End Position</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>End Position</em>'.
* @see org.eclipse.acceleo.parser.cst.CSTNode#getEndPosition()
@@ -1670,8 +1672,9 @@ public interface CstPackage extends EPackage {
EClass getModule();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.acceleo.parser.cst.Module#getInput
- * <em>Input</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.acceleo.parser.cst.Module#getInput <em>Input</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Input</em>'.
* @see org.eclipse.acceleo.parser.cst.Module#getInput()
@@ -1682,8 +1685,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Module#getOwnedModuleElement <em>Owned Module Element</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Module#getOwnedModuleElement <em>Owned Module Element</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Owned Module Element</em>'.
* @see org.eclipse.acceleo.parser.cst.Module#getOwnedModuleElement()
@@ -1694,8 +1697,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Module#getExtends <em>Extends</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Module#getExtends <em>Extends</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Extends</em>'.
* @see org.eclipse.acceleo.parser.cst.Module#getExtends()
@@ -1706,8 +1709,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Module#getImports <em>Imports</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Module#getImports <em>Imports</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Imports</em>'.
* @see org.eclipse.acceleo.parser.cst.Module#getImports()
@@ -1727,8 +1730,9 @@ public interface CstPackage extends EPackage {
EClass getModuleExtendsValue();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.ModuleExtendsValue#getName
- * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.ModuleExtendsValue#getName <em>Name</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.acceleo.parser.cst.ModuleExtendsValue#getName()
@@ -1748,8 +1752,9 @@ public interface CstPackage extends EPackage {
EClass getModuleImportsValue();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.ModuleImportsValue#getName
- * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.ModuleImportsValue#getName <em>Name</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.acceleo.parser.cst.ModuleImportsValue#getName()
@@ -1759,8 +1764,8 @@ public interface CstPackage extends EPackage {
EAttribute getModuleImportsValue_Name();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TypedModel <em>Typed Model</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TypedModel
+ * <em>Typed Model</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Typed Model</em>'.
* @see org.eclipse.acceleo.parser.cst.TypedModel
@@ -1781,8 +1786,8 @@ public interface CstPackage extends EPackage {
EReference getTypedModel_TakesTypesFrom();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.ModuleElement <em>Module Element</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.ModuleElement
+ * <em>Module Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Module Element</em>'.
* @see org.eclipse.acceleo.parser.cst.ModuleElement
@@ -1802,8 +1807,9 @@ public interface CstPackage extends EPackage {
EAttribute getModuleElement_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.ModuleElement#getVisibility
- * <em>Visibility</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.ModuleElement#getVisibility <em>Visibility</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Visibility</em>'.
* @see org.eclipse.acceleo.parser.cst.ModuleElement#getVisibility()
@@ -1813,8 +1819,8 @@ public interface CstPackage extends EPackage {
EAttribute getModuleElement_Visibility();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Comment <em>Comment</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Comment <em>Comment</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Comment</em>'.
* @see org.eclipse.acceleo.parser.cst.Comment
@@ -1823,8 +1829,8 @@ public interface CstPackage extends EPackage {
EClass getComment();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Comment#getBody <em>Body</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Comment#getBody
+ * <em>Body</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Body</em>'.
* @see org.eclipse.acceleo.parser.cst.Comment#getBody()
@@ -1834,8 +1840,8 @@ public interface CstPackage extends EPackage {
EAttribute getComment_Body();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Template <em>Template</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Template <em>Template</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Template</em>'.
* @see org.eclipse.acceleo.parser.cst.Template
@@ -1845,8 +1851,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Template#getOverrides <em>Overrides</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Template#getOverrides <em>Overrides</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Overrides</em>'.
* @see org.eclipse.acceleo.parser.cst.Template#getOverrides()
@@ -1857,8 +1863,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Template#getParameter <em>Parameter</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Template#getParameter <em>Parameter</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Parameter</em>'.
* @see org.eclipse.acceleo.parser.cst.Template#getParameter()
@@ -1868,8 +1874,9 @@ public interface CstPackage extends EPackage {
EReference getTemplate_Parameter();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.Template#getGuard
- * <em>Guard</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.Template#getGuard <em>Guard</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Guard</em>'.
* @see org.eclipse.acceleo.parser.cst.Template#getGuard()
@@ -1889,8 +1896,9 @@ public interface CstPackage extends EPackage {
EClass getTemplateOverridesValue();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue#getName
- * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue#getName <em>Name</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.acceleo.parser.cst.TemplateOverridesValue#getName()
@@ -1900,8 +1908,8 @@ public interface CstPackage extends EPackage {
EAttribute getTemplateOverridesValue_Name();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Variable <em>Variable</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.Variable <em>Variable</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Variable</em>'.
* @see org.eclipse.acceleo.parser.cst.Variable
@@ -1910,8 +1918,8 @@ public interface CstPackage extends EPackage {
EClass getVariable();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Variable#getName <em>Name</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Variable#getName
+ * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.acceleo.parser.cst.Variable#getName()
@@ -1921,8 +1929,8 @@ public interface CstPackage extends EPackage {
EAttribute getVariable_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Variable#getType <em>Type</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Variable#getType
+ * <em>Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Type</em>'.
* @see org.eclipse.acceleo.parser.cst.Variable#getType()
@@ -1933,8 +1941,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.Variable#getInitExpression <em>Init Expression</em>}'. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Variable#getInitExpression <em>Init Expression</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Init Expression</em>'.
* @see org.eclipse.acceleo.parser.cst.Variable#getInitExpression()
@@ -1964,8 +1972,9 @@ public interface CstPackage extends EPackage {
EClass getModelExpression();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getBody
- * <em>Body</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getBody <em>Body</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Body</em>'.
* @see org.eclipse.acceleo.parser.cst.ModelExpression#getBody()
@@ -1976,8 +1985,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getBefore <em>Before</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getBefore <em>Before</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Before</em>'.
* @see org.eclipse.acceleo.parser.cst.ModelExpression#getBefore()
@@ -1988,8 +1997,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getEach <em>Each</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getEach <em>Each</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Each</em>'.
* @see org.eclipse.acceleo.parser.cst.ModelExpression#getEach()
@@ -2000,8 +2009,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getAfter <em>After</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.ModelExpression#getAfter <em>After</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>After</em>'.
* @see org.eclipse.acceleo.parser.cst.ModelExpression#getAfter()
@@ -2011,8 +2020,8 @@ public interface CstPackage extends EPackage {
EReference getModelExpression_After();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TextExpression <em>Text Expression</em>}
- * '. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TextExpression
+ * <em>Text Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Text Expression</em>'.
* @see org.eclipse.acceleo.parser.cst.TextExpression
@@ -2021,8 +2030,9 @@ public interface CstPackage extends EPackage {
EClass getTextExpression();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.TextExpression#getValue
- * <em>Value</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.acceleo.parser.cst.TextExpression#getValue <em>Value</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Value</em>'.
* @see org.eclipse.acceleo.parser.cst.TextExpression#getValue()
@@ -2042,8 +2052,9 @@ public interface CstPackage extends EPackage {
EClass getBlock();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.Block#getInit
- * <em>Init</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.Block#getInit <em>Init</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Init</em>'.
* @see org.eclipse.acceleo.parser.cst.Block#getInit()
@@ -2053,8 +2064,9 @@ public interface CstPackage extends EPackage {
EReference getBlock_Init();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.acceleo.parser.cst.Block#getBody
- * <em>Body</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.acceleo.parser.cst.Block#getBody <em>Body</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Body</em>'.
* @see org.eclipse.acceleo.parser.cst.Block#getBody()
@@ -2064,8 +2076,8 @@ public interface CstPackage extends EPackage {
EReference getBlock_Body();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.InitSection <em>Init Section</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.InitSection
+ * <em>Init Section</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Init Section</em>'.
* @see org.eclipse.acceleo.parser.cst.InitSection
@@ -2075,8 +2087,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.InitSection#getVariable <em>Variable</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.InitSection#getVariable <em>Variable</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Variable</em>'.
* @see org.eclipse.acceleo.parser.cst.InitSection#getVariable()
@@ -2097,8 +2109,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.ProtectedAreaBlock#getMarker <em>Marker</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.ProtectedAreaBlock#getMarker <em>Marker</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Marker</em>'.
* @see org.eclipse.acceleo.parser.cst.ProtectedAreaBlock#getMarker()
@@ -2108,8 +2120,8 @@ public interface CstPackage extends EPackage {
EReference getProtectedAreaBlock_Marker();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.ForBlock <em>For Block</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.ForBlock <em>For Block</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>For Block</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock
@@ -2119,8 +2131,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.ForBlock#getLoopVariable <em>Loop Variable</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getLoopVariable <em>Loop Variable</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Loop Variable</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getLoopVariable()
@@ -2130,8 +2142,9 @@ public interface CstPackage extends EPackage {
EReference getForBlock_LoopVariable();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.ForBlock#getIterSet
- * <em>Iter Set</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getIterSet <em>Iter Set</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Iter Set</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getIterSet()
@@ -2141,8 +2154,9 @@ public interface CstPackage extends EPackage {
EReference getForBlock_IterSet();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.ForBlock#getBefore
- * <em>Before</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getBefore <em>Before</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Before</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getBefore()
@@ -2152,8 +2166,9 @@ public interface CstPackage extends EPackage {
EReference getForBlock_Before();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.ForBlock#getEach
- * <em>Each</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getEach <em>Each</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Each</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getEach()
@@ -2163,8 +2178,9 @@ public interface CstPackage extends EPackage {
EReference getForBlock_Each();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.ForBlock#getAfter
- * <em>After</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getAfter <em>After</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>After</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getAfter()
@@ -2174,8 +2190,9 @@ public interface CstPackage extends EPackage {
EReference getForBlock_After();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.ForBlock#getGuard
- * <em>Guard</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.ForBlock#getGuard <em>Guard</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Guard</em>'.
* @see org.eclipse.acceleo.parser.cst.ForBlock#getGuard()
@@ -2185,8 +2202,8 @@ public interface CstPackage extends EPackage {
EReference getForBlock_Guard();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.IfBlock <em>If Block</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.IfBlock <em>If Block</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>If Block</em>'.
* @see org.eclipse.acceleo.parser.cst.IfBlock
@@ -2195,8 +2212,9 @@ public interface CstPackage extends EPackage {
EClass getIfBlock();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.IfBlock#getIfExpr
- * <em>If Expr</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.IfBlock#getIfExpr <em>If Expr</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>If Expr</em>'.
* @see org.eclipse.acceleo.parser.cst.IfBlock#getIfExpr()
@@ -2206,8 +2224,9 @@ public interface CstPackage extends EPackage {
EReference getIfBlock_IfExpr();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.IfBlock#getElse
- * <em>Else</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.IfBlock#getElse <em>Else</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Else</em>'.
* @see org.eclipse.acceleo.parser.cst.IfBlock#getElse()
@@ -2218,8 +2237,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.IfBlock#getElseIf <em>Else If</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.IfBlock#getElseIf <em>Else If</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Else If</em>'.
* @see org.eclipse.acceleo.parser.cst.IfBlock#getElseIf()
@@ -2229,8 +2248,8 @@ public interface CstPackage extends EPackage {
EReference getIfBlock_ElseIf();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.LetBlock <em>Let Block</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.LetBlock <em>Let Block</em>}'.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Let Block</em>'.
* @see org.eclipse.acceleo.parser.cst.LetBlock
@@ -2240,8 +2259,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.LetBlock#getElseLet <em>Else Let</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.LetBlock#getElseLet <em>Else Let</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Else Let</em>'.
* @see org.eclipse.acceleo.parser.cst.LetBlock#getElseLet()
@@ -2251,8 +2270,9 @@ public interface CstPackage extends EPackage {
EReference getLetBlock_ElseLet();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.LetBlock#getElse
- * <em>Else</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.LetBlock#getElse <em>Else</em>}'. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @return the meta object for the containment reference '<em>Else</em>'.
* @see org.eclipse.acceleo.parser.cst.LetBlock#getElse()
@@ -2263,8 +2283,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.LetBlock#getLetVariable <em>Let Variable</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.LetBlock#getLetVariable <em>Let Variable</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Let Variable</em>'.
* @see org.eclipse.acceleo.parser.cst.LetBlock#getLetVariable()
@@ -2274,8 +2294,8 @@ public interface CstPackage extends EPackage {
EReference getLetBlock_LetVariable();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.FileBlock <em>File Block</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.FileBlock <em>File Block</em>}
+ * '. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>File Block</em>'.
* @see org.eclipse.acceleo.parser.cst.FileBlock
@@ -2295,8 +2315,9 @@ public interface CstPackage extends EPackage {
EAttribute getFileBlock_OpenMode();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.FileBlock#getFileUrl
- * <em>File Url</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.FileBlock#getFileUrl <em>File Url</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>File Url</em>'.
* @see org.eclipse.acceleo.parser.cst.FileBlock#getFileUrl()
@@ -2306,8 +2327,9 @@ public interface CstPackage extends EPackage {
EReference getFileBlock_FileUrl();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.FileBlock#getUniqId
- * <em>Uniq Id</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.FileBlock#getUniqId <em>Uniq Id</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Uniq Id</em>'.
* @see org.eclipse.acceleo.parser.cst.FileBlock#getUniqId()
@@ -2317,8 +2339,8 @@ public interface CstPackage extends EPackage {
EReference getFileBlock_UniqId();
/**
- * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TraceBlock <em>Trace Block</em>}'. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for class '{@link org.eclipse.acceleo.parser.cst.TraceBlock
+ * <em>Trace Block</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for class '<em>Trace Block</em>'.
* @see org.eclipse.acceleo.parser.cst.TraceBlock
@@ -2328,8 +2350,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference '
- * {@link org.eclipse.acceleo.parser.cst.TraceBlock#getModelElement <em>Model Element</em>}'. <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.TraceBlock#getModelElement <em>Model Element</em>}'. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Model Element</em>'.
* @see org.eclipse.acceleo.parser.cst.TraceBlock#getModelElement()
@@ -2350,8 +2372,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Macro#getParameter <em>Parameter</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Macro#getParameter <em>Parameter</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Parameter</em>'.
* @see org.eclipse.acceleo.parser.cst.Macro#getParameter()
@@ -2361,8 +2383,8 @@ public interface CstPackage extends EPackage {
EReference getMacro_Parameter();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Macro#getType <em>Type</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Macro#getType
+ * <em>Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Type</em>'.
* @see org.eclipse.acceleo.parser.cst.Macro#getType()
@@ -2383,8 +2405,8 @@ public interface CstPackage extends EPackage {
/**
* Returns the meta object for the containment reference list '
- * {@link org.eclipse.acceleo.parser.cst.Query#getParameter <em>Parameter</em>}'. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * {@link org.eclipse.acceleo.parser.cst.Query#getParameter <em>Parameter</em>}'. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
*
* @return the meta object for the containment reference list '<em>Parameter</em>'.
* @see org.eclipse.acceleo.parser.cst.Query#getParameter()
@@ -2394,8 +2416,8 @@ public interface CstPackage extends EPackage {
EReference getQuery_Parameter();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Query#getType <em>Type</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the attribute '{@link org.eclipse.acceleo.parser.cst.Query#getType
+ * <em>Type</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for the attribute '<em>Type</em>'.
* @see org.eclipse.acceleo.parser.cst.Query#getType()
@@ -2405,8 +2427,9 @@ public interface CstPackage extends EPackage {
EAttribute getQuery_Type();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.acceleo.parser.cst.Query#getExpression
- * <em>Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.acceleo.parser.cst.Query#getExpression <em>Expression</em>}'. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
*
* @return the meta object for the containment reference '<em>Expression</em>'.
* @see org.eclipse.acceleo.parser.cst.Query#getExpression()
@@ -2416,8 +2439,8 @@ public interface CstPackage extends EPackage {
EReference getQuery_Expression();
/**
- * Returns the meta object for enum '{@link org.eclipse.acceleo.parser.cst.VisibilityKind <em>Visibility Kind</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for enum '{@link org.eclipse.acceleo.parser.cst.VisibilityKind
+ * <em>Visibility Kind</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for enum '<em>Visibility Kind</em>'.
* @see org.eclipse.acceleo.parser.cst.VisibilityKind
@@ -2426,8 +2449,8 @@ public interface CstPackage extends EPackage {
EEnum getVisibilityKind();
/**
- * Returns the meta object for enum '{@link org.eclipse.acceleo.parser.cst.OpenModeKind <em>Open Mode Kind</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for enum '{@link org.eclipse.acceleo.parser.cst.OpenModeKind
+ * <em>Open Mode Kind</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @return the meta object for enum '<em>Open Mode Kind</em>'.
* @see org.eclipse.acceleo.parser.cst.OpenModeKind
@@ -2458,8 +2481,8 @@ public interface CstPackage extends EPackage {
*/
interface Literals {
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}' class. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}'
+ * class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.CSTNode
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getCSTNode()
@@ -2484,8 +2507,8 @@ public interface CstPackage extends EPackage {
EAttribute CST_NODE__END_POSITION = eINSTANCE.getCSTNode_EndPosition();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl <em>Module</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl
+ * <em>Module</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.ModuleImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getModule()
@@ -2606,8 +2629,8 @@ public interface CstPackage extends EPackage {
EAttribute MODULE_ELEMENT__VISIBILITY = eINSTANCE.getModuleElement_Visibility();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.CommentImpl <em>Comment</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.CommentImpl
+ * <em>Comment</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.CommentImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getComment()
@@ -2624,8 +2647,8 @@ public interface CstPackage extends EPackage {
EAttribute COMMENT__BODY = eINSTANCE.getComment_Body();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.TemplateImpl <em>Template</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.TemplateImpl
+ * <em>Template</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.TemplateImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getTemplate()
@@ -2658,7 +2681,8 @@ public interface CstPackage extends EPackage {
EReference TEMPLATE__GUARD = eINSTANCE.getTemplate_Guard();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl
+ * The meta object literal for the '
+ * {@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl
* <em>Template Overrides Value</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl
@@ -2676,8 +2700,8 @@ public interface CstPackage extends EPackage {
EAttribute TEMPLATE_OVERRIDES_VALUE__NAME = eINSTANCE.getTemplateOverridesValue_Name();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.VariableImpl <em>Variable</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.VariableImpl
+ * <em>Variable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.VariableImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getVariable()
@@ -2780,8 +2804,8 @@ public interface CstPackage extends EPackage {
EAttribute TEXT_EXPRESSION__VALUE = eINSTANCE.getTextExpression_Value();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.BlockImpl <em>Block</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.BlockImpl
+ * <em>Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.BlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getBlock()
@@ -2842,8 +2866,8 @@ public interface CstPackage extends EPackage {
EReference PROTECTED_AREA_BLOCK__MARKER = eINSTANCE.getProtectedAreaBlock_Marker();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.ForBlockImpl <em>For Block</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.ForBlockImpl
+ * <em>For Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.ForBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getForBlock()
@@ -2900,8 +2924,8 @@ public interface CstPackage extends EPackage {
EReference FOR_BLOCK__GUARD = eINSTANCE.getForBlock_Guard();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.IfBlockImpl <em>If Block</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.IfBlockImpl
+ * <em>If Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.IfBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getIfBlock()
@@ -2934,8 +2958,8 @@ public interface CstPackage extends EPackage {
EReference IF_BLOCK__ELSE_IF = eINSTANCE.getIfBlock_ElseIf();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.LetBlockImpl <em>Let Block</em>}'
- * class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.LetBlockImpl
+ * <em>Let Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.LetBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getLetBlock()
@@ -2968,8 +2992,8 @@ public interface CstPackage extends EPackage {
EReference LET_BLOCK__LET_VARIABLE = eINSTANCE.getLetBlock_LetVariable();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.FileBlockImpl <em>File Block</em>}
- * ' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.FileBlockImpl
+ * <em>File Block</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.FileBlockImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getFileBlock()
@@ -3020,8 +3044,8 @@ public interface CstPackage extends EPackage {
EReference TRACE_BLOCK__MODEL_ELEMENT = eINSTANCE.getTraceBlock_ModelElement();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.MacroImpl <em>Macro</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.MacroImpl
+ * <em>Macro</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.MacroImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getMacro()
@@ -3046,8 +3070,8 @@ public interface CstPackage extends EPackage {
EAttribute MACRO__TYPE = eINSTANCE.getMacro_Type();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.QueryImpl <em>Query</em>}' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.impl.QueryImpl
+ * <em>Query</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.impl.QueryImpl
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getQuery()
@@ -3090,8 +3114,8 @@ public interface CstPackage extends EPackage {
EEnum VISIBILITY_KIND = eINSTANCE.getVisibilityKind();
/**
- * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.OpenModeKind <em>Open Mode Kind</em>}'
- * enum. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The meta object literal for the '{@link org.eclipse.acceleo.parser.cst.OpenModeKind
+ * <em>Open Mode Kind</em>}' enum. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.acceleo.parser.cst.OpenModeKind
* @see org.eclipse.acceleo.parser.cst.impl.CstPackageImpl#getOpenModeKind()
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/FileBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/FileBlock.java
index e34b94e..da762d4 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/FileBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/FileBlock.java
@@ -46,8 +46,8 @@ public interface FileBlock extends Block {
OpenModeKind getOpenMode();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getOpenMode <em>Open Mode</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getOpenMode <em>Open Mode</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Open Mode</em>' attribute.
@@ -74,8 +74,8 @@ public interface FileBlock extends Block {
ModelExpression getFileUrl();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getFileUrl <em>File Url</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getFileUrl <em>File Url</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>File Url</em>' containment reference.
@@ -101,8 +101,8 @@ public interface FileBlock extends Block {
ModelExpression getUniqId();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getUniqId <em>Uniq Id</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.FileBlock#getUniqId <em>Uniq Id</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Uniq Id</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ForBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ForBlock.java
index 0dea70c..54b0395 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ForBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ForBlock.java
@@ -47,8 +47,8 @@ public interface ForBlock extends Block {
Variable getLoopVariable();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getLoopVariable <em>Loop Variable</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getLoopVariable
+ * <em>Loop Variable</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Loop Variable</em>' containment reference.
@@ -74,8 +74,8 @@ public interface ForBlock extends Block {
ModelExpression getIterSet();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getIterSet <em>Iter Set</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getIterSet <em>Iter Set</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Iter Set</em>' containment reference.
@@ -101,8 +101,8 @@ public interface ForBlock extends Block {
ModelExpression getBefore();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getBefore <em>Before</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getBefore <em>Before</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Before</em>' containment reference.
@@ -128,8 +128,8 @@ public interface ForBlock extends Block {
ModelExpression getEach();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getEach <em>Each</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getEach <em>Each</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Each</em>' containment reference.
@@ -155,8 +155,8 @@ public interface ForBlock extends Block {
ModelExpression getAfter();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getAfter <em>After</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getAfter <em>After</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>After</em>' containment reference.
@@ -182,8 +182,8 @@ public interface ForBlock extends Block {
ModelExpression getGuard();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getGuard <em>Guard</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ForBlock#getGuard <em>Guard</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Guard</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/IfBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/IfBlock.java
index 086e02c..f451252 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/IfBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/IfBlock.java
@@ -46,8 +46,8 @@ public interface IfBlock extends Block {
ModelExpression getIfExpr();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.IfBlock#getIfExpr <em>If Expr</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.IfBlock#getIfExpr <em>If Expr</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>If Expr</em>' containment reference.
@@ -73,8 +73,8 @@ public interface IfBlock extends Block {
Block getElse();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.IfBlock#getElse <em>Else</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.IfBlock#getElse <em>Else</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Else</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/LetBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/LetBlock.java
index 6189c07..6d5bb28 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/LetBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/LetBlock.java
@@ -62,8 +62,8 @@ public interface LetBlock extends Block {
Block getElse();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.LetBlock#getElse <em>Else</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.LetBlock#getElse <em>Else</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Else</em>' containment reference.
@@ -89,8 +89,8 @@ public interface LetBlock extends Block {
Variable getLetVariable();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.LetBlock#getLetVariable <em>Let Variable</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.LetBlock#getLetVariable
+ * <em>Let Variable</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Let Variable</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Macro.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Macro.java
index b7cbe99..aafb60e 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Macro.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Macro.java
@@ -60,8 +60,8 @@ public interface Macro extends Block, ModuleElement {
String getType();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Macro#getType <em>Type</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Macro#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Type</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModelExpression.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModelExpression.java
index a672ed0..bf3799d 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModelExpression.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModelExpression.java
@@ -45,8 +45,8 @@ public interface ModelExpression extends TemplateExpression {
String getBody();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getBody <em>Body</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getBody <em>Body</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Body</em>' attribute.
@@ -72,8 +72,8 @@ public interface ModelExpression extends TemplateExpression {
ModelExpression getBefore();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getBefore <em>Before</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getBefore <em>Before</em>}
+ * ' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Before</em>' containment reference.
@@ -99,8 +99,8 @@ public interface ModelExpression extends TemplateExpression {
ModelExpression getEach();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getEach <em>Each</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getEach <em>Each</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Each</em>' containment reference.
@@ -126,8 +126,8 @@ public interface ModelExpression extends TemplateExpression {
ModelExpression getAfter();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getAfter <em>After</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModelExpression#getAfter <em>After</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>After</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleElement.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleElement.java
index bf97c88..5892ef1 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleElement.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleElement.java
@@ -43,8 +43,8 @@ public interface ModuleElement extends CSTNode {
String getName();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleElement#getName <em>Name</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleElement#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
@@ -72,8 +72,8 @@ public interface ModuleElement extends CSTNode {
VisibilityKind getVisibility();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleElement#getVisibility <em>Visibility</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleElement#getVisibility
+ * <em>Visibility</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Visibility</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleExtendsValue.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleExtendsValue.java
index d969000..9268f0f 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleExtendsValue.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleExtendsValue.java
@@ -42,8 +42,8 @@ public interface ModuleExtendsValue extends CSTNode {
String getName();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleExtendsValue#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleExtendsValue#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleImportsValue.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleImportsValue.java
index c3818f8..2ad1425 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleImportsValue.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ModuleImportsValue.java
@@ -42,8 +42,8 @@ public interface ModuleImportsValue extends CSTNode {
String getName();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleImportsValue#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ModuleImportsValue#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ProtectedAreaBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ProtectedAreaBlock.java
index fc37f16..a3240db 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ProtectedAreaBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/ProtectedAreaBlock.java
@@ -42,8 +42,8 @@ public interface ProtectedAreaBlock extends Block {
ModelExpression getMarker();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ProtectedAreaBlock#getMarker <em>Marker</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.ProtectedAreaBlock#getMarker
+ * <em>Marker</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Marker</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Query.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Query.java
index 4807cdb..89d878c 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Query.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Query.java
@@ -61,8 +61,8 @@ public interface Query extends ModuleElement {
String getType();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Query#getType <em>Type</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Query#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Type</em>' attribute.
@@ -88,8 +88,8 @@ public interface Query extends ModuleElement {
ModelExpression getExpression();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Query#getExpression <em>Expression</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Query#getExpression <em>Expression</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Expression</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Template.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Template.java
index 4839414..fae6e0c 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Template.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Template.java
@@ -78,8 +78,8 @@ public interface Template extends Block, ModuleElement {
ModelExpression getGuard();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Template#getGuard <em>Guard</em>}' containment
- * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Template#getGuard <em>Guard</em>}'
+ * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Guard</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TemplateOverridesValue.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TemplateOverridesValue.java
index 99084ef..f629cfd 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TemplateOverridesValue.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TemplateOverridesValue.java
@@ -42,8 +42,8 @@ public interface TemplateOverridesValue extends CSTNode {
String getName();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue#getName <em>Name</em>}'
- * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue#getName
+ * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TextExpression.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TextExpression.java
index 2bdc7f6..8a51e3f 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TextExpression.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TextExpression.java
@@ -42,8 +42,8 @@ public interface TextExpression extends TemplateExpression {
String getValue();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TextExpression#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TextExpression#getValue <em>Value</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Value</em>' attribute.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TraceBlock.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TraceBlock.java
index fa3d850..4576501 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TraceBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/TraceBlock.java
@@ -42,8 +42,8 @@ public interface TraceBlock extends Block {
ModelExpression getModelElement();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TraceBlock#getModelElement <em>Model Element</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.TraceBlock#getModelElement
+ * <em>Model Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Model Element</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Variable.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Variable.java
index 822e1a4..45824a7 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Variable.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/Variable.java
@@ -43,8 +43,8 @@ public interface Variable extends CSTNode {
String getName();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getName <em>Name</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getName <em>Name</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Name</em>' attribute.
@@ -70,8 +70,8 @@ public interface Variable extends CSTNode {
String getType();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getType <em>Type</em>}' attribute. <!--
- * begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getType <em>Type</em>}'
+ * attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Type</em>' attribute.
@@ -98,8 +98,8 @@ public interface Variable extends CSTNode {
ModelExpression getInitExpression();
/**
- * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getInitExpression <em>Init Expression</em>}'
- * containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Sets the value of the '{@link org.eclipse.acceleo.parser.cst.Variable#getInitExpression
+ * <em>Init Expression</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Init Expression</em>' containment reference.
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/BlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/BlockImpl.java
index bbcc2f6..206f124 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/BlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/BlockImpl.java
@@ -98,11 +98,10 @@ public class BlockImpl extends TemplateExpressionImpl implements Block {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.BLOCK__INIT, oldInit, newInit);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -115,21 +114,17 @@ public class BlockImpl extends TemplateExpressionImpl implements Block {
public void setInit(InitSection newInit) {
if (newInit != init) {
NotificationChain msgs = null;
- if (init != null) {
+ if (init != null)
msgs = ((InternalEObject)init).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.BLOCK__INIT, null, msgs);
- }
- if (newInit != null) {
+ if (newInit != null)
msgs = ((InternalEObject)newInit).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.BLOCK__INIT, null, msgs);
- }
msgs = basicSetInit(newInit, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.BLOCK__INIT, newInit, newInit));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CommentImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CommentImpl.java
index 8e8c99b..230eb69 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CommentImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CommentImpl.java
@@ -85,9 +85,8 @@ public class CommentImpl extends ModuleElementImpl implements Comment {
public void setBody(String newBody) {
String oldBody = body;
body = newBody;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.COMMENT__BODY, oldBody, body));
- }
}
/**
@@ -155,9 +154,8 @@ public class CommentImpl extends ModuleElementImpl implements Comment {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (body: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstFactoryImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstFactoryImpl.java
index 386f3a4..2ba9d63 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstFactoryImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstFactoryImpl.java
@@ -384,10 +384,9 @@ public class CstFactoryImpl extends EFactoryImpl implements CstFactory {
*/
public VisibilityKind createVisibilityKindFromString(EDataType eDataType, String initialValue) {
VisibilityKind result = VisibilityKind.get(initialValue);
- if (result == null) {
+ if (result == null)
throw new IllegalArgumentException(
"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
return result;
}
@@ -407,10 +406,9 @@ public class CstFactoryImpl extends EFactoryImpl implements CstFactory {
*/
public OpenModeKind createOpenModeKindFromString(EDataType eDataType, String initialValue) {
OpenModeKind result = OpenModeKind.get(initialValue);
- if (result == null) {
+ if (result == null)
throw new IllegalArgumentException(
"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
return result;
}
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstPackageImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstPackageImpl.java
index 2028166..0e9df59 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstPackageImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/CstPackageImpl.java
@@ -270,9 +270,8 @@ public class CstPackageImpl extends EPackageImpl implements CstPackage {
* @generated
*/
public static CstPackage init() {
- if (isInited) {
+ if (isInited)
return (CstPackage)EPackage.Registry.INSTANCE.getEPackage(CstPackage.eNS_URI);
- }
// Obtain or create and register package
CstPackageImpl theCstPackage = (CstPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CstPackageImpl ? EPackage.Registry.INSTANCE
@@ -985,9 +984,8 @@ public class CstPackageImpl extends EPackageImpl implements CstPackage {
* @generated
*/
public void createPackageContents() {
- if (isCreated) {
+ if (isCreated)
return;
- }
isCreated = true;
// Create classes and their features
@@ -1105,9 +1103,8 @@ public class CstPackageImpl extends EPackageImpl implements CstPackage {
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) {
+ if (isInitialized)
return;
- }
isInitialized = true;
// Initialize package
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/FileBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/FileBlockImpl.java
index 9a22252..2d24fa5 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/FileBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/FileBlockImpl.java
@@ -111,10 +111,9 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
public void setOpenMode(OpenModeKind newOpenMode) {
OpenModeKind oldOpenMode = openMode;
openMode = newOpenMode == null ? OPEN_MODE_EDEFAULT : newOpenMode;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FILE_BLOCK__OPEN_MODE,
oldOpenMode, openMode));
- }
}
/**
@@ -137,11 +136,10 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FILE_BLOCK__FILE_URL, oldFileUrl, newFileUrl);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -154,22 +152,18 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
public void setFileUrl(ModelExpression newFileUrl) {
if (newFileUrl != fileUrl) {
NotificationChain msgs = null;
- if (fileUrl != null) {
+ if (fileUrl != null)
msgs = ((InternalEObject)fileUrl).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FILE_BLOCK__FILE_URL, null, msgs);
- }
- if (newFileUrl != null) {
+ if (newFileUrl != null)
msgs = ((InternalEObject)newFileUrl).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FILE_BLOCK__FILE_URL, null, msgs);
- }
msgs = basicSetFileUrl(newFileUrl, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FILE_BLOCK__FILE_URL,
newFileUrl, newFileUrl));
- }
}
/**
@@ -192,11 +186,10 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FILE_BLOCK__UNIQ_ID, oldUniqId, newUniqId);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -209,22 +202,18 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
public void setUniqId(ModelExpression newUniqId) {
if (newUniqId != uniqId) {
NotificationChain msgs = null;
- if (uniqId != null) {
+ if (uniqId != null)
msgs = ((InternalEObject)uniqId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FILE_BLOCK__UNIQ_ID, null, msgs);
- }
- if (newUniqId != null) {
+ if (newUniqId != null)
msgs = ((InternalEObject)newUniqId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FILE_BLOCK__UNIQ_ID, null, msgs);
- }
msgs = basicSetUniqId(newUniqId, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FILE_BLOCK__UNIQ_ID, newUniqId,
newUniqId));
- }
}
/**
@@ -328,9 +317,8 @@ public class FileBlockImpl extends BlockImpl implements FileBlock {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (openMode: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ForBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ForBlockImpl.java
index 0b3a300..1a3be6f 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ForBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ForBlockImpl.java
@@ -137,11 +137,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__LOOP_VARIABLE, oldLoopVariable, newLoopVariable);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -154,22 +153,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setLoopVariable(Variable newLoopVariable) {
if (newLoopVariable != loopVariable) {
NotificationChain msgs = null;
- if (loopVariable != null) {
+ if (loopVariable != null)
msgs = ((InternalEObject)loopVariable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__LOOP_VARIABLE, null, msgs);
- }
- if (newLoopVariable != null) {
+ if (newLoopVariable != null)
msgs = ((InternalEObject)newLoopVariable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__LOOP_VARIABLE, null, msgs);
- }
msgs = basicSetLoopVariable(newLoopVariable, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__LOOP_VARIABLE,
newLoopVariable, newLoopVariable));
- }
}
/**
@@ -192,11 +187,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__ITER_SET, oldIterSet, newIterSet);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -209,22 +203,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setIterSet(ModelExpression newIterSet) {
if (newIterSet != iterSet) {
NotificationChain msgs = null;
- if (iterSet != null) {
+ if (iterSet != null)
msgs = ((InternalEObject)iterSet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__ITER_SET, null, msgs);
- }
- if (newIterSet != null) {
+ if (newIterSet != null)
msgs = ((InternalEObject)newIterSet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__ITER_SET, null, msgs);
- }
msgs = basicSetIterSet(newIterSet, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__ITER_SET, newIterSet,
newIterSet));
- }
}
/**
@@ -247,11 +237,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__BEFORE, oldBefore, newBefore);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -264,22 +253,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setBefore(ModelExpression newBefore) {
if (newBefore != before) {
NotificationChain msgs = null;
- if (before != null) {
+ if (before != null)
msgs = ((InternalEObject)before).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__BEFORE, null, msgs);
- }
- if (newBefore != null) {
+ if (newBefore != null)
msgs = ((InternalEObject)newBefore).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__BEFORE, null, msgs);
- }
msgs = basicSetBefore(newBefore, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__BEFORE, newBefore,
newBefore));
- }
}
/**
@@ -302,11 +287,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__EACH, oldEach, newEach);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -319,22 +303,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setEach(ModelExpression newEach) {
if (newEach != each) {
NotificationChain msgs = null;
- if (each != null) {
+ if (each != null)
msgs = ((InternalEObject)each).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__EACH, null, msgs);
- }
- if (newEach != null) {
+ if (newEach != null)
msgs = ((InternalEObject)newEach).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__EACH, null, msgs);
- }
msgs = basicSetEach(newEach, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__EACH, newEach,
newEach));
- }
}
/**
@@ -357,11 +337,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__AFTER, oldAfter, newAfter);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -374,22 +353,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setAfter(ModelExpression newAfter) {
if (newAfter != after) {
NotificationChain msgs = null;
- if (after != null) {
+ if (after != null)
msgs = ((InternalEObject)after).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__AFTER, null, msgs);
- }
- if (newAfter != null) {
+ if (newAfter != null)
msgs = ((InternalEObject)newAfter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__AFTER, null, msgs);
- }
msgs = basicSetAfter(newAfter, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__AFTER, newAfter,
newAfter));
- }
}
/**
@@ -412,11 +387,10 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.FOR_BLOCK__GUARD, oldGuard, newGuard);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -429,22 +403,18 @@ public class ForBlockImpl extends BlockImpl implements ForBlock {
public void setGuard(ModelExpression newGuard) {
if (newGuard != guard) {
NotificationChain msgs = null;
- if (guard != null) {
+ if (guard != null)
msgs = ((InternalEObject)guard).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__GUARD, null, msgs);
- }
- if (newGuard != null) {
+ if (newGuard != null)
msgs = ((InternalEObject)newGuard).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.FOR_BLOCK__GUARD, null, msgs);
- }
msgs = basicSetGuard(newGuard, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.FOR_BLOCK__GUARD, newGuard,
newGuard));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/IfBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/IfBlockImpl.java
index 5b68ca5..3934edf 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/IfBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/IfBlockImpl.java
@@ -109,11 +109,10 @@ public class IfBlockImpl extends BlockImpl implements IfBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.IF_BLOCK__IF_EXPR, oldIfExpr, newIfExpr);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -126,22 +125,18 @@ public class IfBlockImpl extends BlockImpl implements IfBlock {
public void setIfExpr(ModelExpression newIfExpr) {
if (newIfExpr != ifExpr) {
NotificationChain msgs = null;
- if (ifExpr != null) {
+ if (ifExpr != null)
msgs = ((InternalEObject)ifExpr).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.IF_BLOCK__IF_EXPR, null, msgs);
- }
- if (newIfExpr != null) {
+ if (newIfExpr != null)
msgs = ((InternalEObject)newIfExpr).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.IF_BLOCK__IF_EXPR, null, msgs);
- }
msgs = basicSetIfExpr(newIfExpr, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.IF_BLOCK__IF_EXPR, newIfExpr,
newIfExpr));
- }
}
/**
@@ -164,11 +159,10 @@ public class IfBlockImpl extends BlockImpl implements IfBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.IF_BLOCK__ELSE, oldElse, newElse);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -181,21 +175,17 @@ public class IfBlockImpl extends BlockImpl implements IfBlock {
public void setElse(Block newElse) {
if (newElse != else_) {
NotificationChain msgs = null;
- if (else_ != null) {
+ if (else_ != null)
msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.IF_BLOCK__ELSE, null, msgs);
- }
- if (newElse != null) {
+ if (newElse != null)
msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.IF_BLOCK__ELSE, null, msgs);
- }
msgs = basicSetElse(newElse, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.IF_BLOCK__ELSE, newElse, newElse));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/InitSectionImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/InitSectionImpl.java
index c8fef5f..6675c6b 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/InitSectionImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/InitSectionImpl.java
@@ -126,10 +126,9 @@ public class InitSectionImpl extends EObjectImpl implements InitSection {
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.INIT_SECTION__START_POSITION,
oldStartPosition, startPosition));
- }
}
/**
@@ -149,10 +148,9 @@ public class InitSectionImpl extends EObjectImpl implements InitSection {
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.INIT_SECTION__END_POSITION,
oldEndPosition, endPosition));
- }
}
/**
@@ -269,9 +267,8 @@ public class InitSectionImpl extends EObjectImpl implements InitSection {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/LetBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/LetBlockImpl.java
index 7e53e6b..d8ad493 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/LetBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/LetBlockImpl.java
@@ -122,11 +122,10 @@ public class LetBlockImpl extends BlockImpl implements LetBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.LET_BLOCK__ELSE, oldElse, newElse);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -139,22 +138,18 @@ public class LetBlockImpl extends BlockImpl implements LetBlock {
public void setElse(Block newElse) {
if (newElse != else_) {
NotificationChain msgs = null;
- if (else_ != null) {
+ if (else_ != null)
msgs = ((InternalEObject)else_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.LET_BLOCK__ELSE, null, msgs);
- }
- if (newElse != null) {
+ if (newElse != null)
msgs = ((InternalEObject)newElse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.LET_BLOCK__ELSE, null, msgs);
- }
msgs = basicSetElse(newElse, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.LET_BLOCK__ELSE, newElse,
newElse));
- }
}
/**
@@ -177,11 +172,10 @@ public class LetBlockImpl extends BlockImpl implements LetBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.LET_BLOCK__LET_VARIABLE, oldLetVariable, newLetVariable);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -194,22 +188,18 @@ public class LetBlockImpl extends BlockImpl implements LetBlock {
public void setLetVariable(Variable newLetVariable) {
if (newLetVariable != letVariable) {
NotificationChain msgs = null;
- if (letVariable != null) {
+ if (letVariable != null)
msgs = ((InternalEObject)letVariable).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.LET_BLOCK__LET_VARIABLE, null, msgs);
- }
- if (newLetVariable != null) {
+ if (newLetVariable != null)
msgs = ((InternalEObject)newLetVariable).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.LET_BLOCK__LET_VARIABLE, null, msgs);
- }
msgs = basicSetLetVariable(newLetVariable, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.LET_BLOCK__LET_VARIABLE,
newLetVariable, newLetVariable));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/MacroImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/MacroImpl.java
index b2f8861..a32f87f 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/MacroImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/MacroImpl.java
@@ -147,9 +147,8 @@ public class MacroImpl extends BlockImpl implements Macro {
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MACRO__NAME, oldName, name));
- }
}
/**
@@ -169,10 +168,9 @@ public class MacroImpl extends BlockImpl implements Macro {
public void setVisibility(VisibilityKind newVisibility) {
VisibilityKind oldVisibility = visibility;
visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MACRO__VISIBILITY,
oldVisibility, visibility));
- }
}
/**
@@ -205,9 +203,8 @@ public class MacroImpl extends BlockImpl implements Macro {
public void setType(String newType) {
String oldType = type;
type = newType;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MACRO__TYPE, oldType, type));
- }
}
/**
@@ -361,9 +358,8 @@ public class MacroImpl extends BlockImpl implements Macro {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModelExpressionImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModelExpressionImpl.java
index 71ddd23..19f9bbe 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModelExpressionImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModelExpressionImpl.java
@@ -120,10 +120,9 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
public void setBody(String newBody) {
String oldBody = body;
body = newBody;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODEL_EXPRESSION__BODY, oldBody,
body));
- }
}
/**
@@ -146,11 +145,10 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.MODEL_EXPRESSION__BEFORE, oldBefore, newBefore);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -163,22 +161,18 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
public void setBefore(ModelExpression newBefore) {
if (newBefore != before) {
NotificationChain msgs = null;
- if (before != null) {
+ if (before != null)
msgs = ((InternalEObject)before).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__BEFORE, null, msgs);
- }
- if (newBefore != null) {
+ if (newBefore != null)
msgs = ((InternalEObject)newBefore).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__BEFORE, null, msgs);
- }
msgs = basicSetBefore(newBefore, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODEL_EXPRESSION__BEFORE,
newBefore, newBefore));
- }
}
/**
@@ -201,11 +195,10 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.MODEL_EXPRESSION__EACH, oldEach, newEach);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -218,22 +211,18 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
public void setEach(ModelExpression newEach) {
if (newEach != each) {
NotificationChain msgs = null;
- if (each != null) {
+ if (each != null)
msgs = ((InternalEObject)each).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__EACH, null, msgs);
- }
- if (newEach != null) {
+ if (newEach != null)
msgs = ((InternalEObject)newEach).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__EACH, null, msgs);
- }
msgs = basicSetEach(newEach, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODEL_EXPRESSION__EACH, newEach,
newEach));
- }
}
/**
@@ -256,11 +245,10 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.MODEL_EXPRESSION__AFTER, oldAfter, newAfter);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -273,22 +261,18 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
public void setAfter(ModelExpression newAfter) {
if (newAfter != after) {
NotificationChain msgs = null;
- if (after != null) {
+ if (after != null)
msgs = ((InternalEObject)after).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__AFTER, null, msgs);
- }
- if (newAfter != null) {
+ if (newAfter != null)
msgs = ((InternalEObject)newAfter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.MODEL_EXPRESSION__AFTER, null, msgs);
- }
msgs = basicSetAfter(newAfter, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODEL_EXPRESSION__AFTER,
newAfter, newAfter));
- }
}
/**
@@ -404,9 +388,8 @@ public class ModelExpressionImpl extends TemplateExpressionImpl implements Model
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (body: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleElementImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleElementImpl.java
index 5174446..ac842c0 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleElementImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleElementImpl.java
@@ -150,10 +150,9 @@ public abstract class ModuleElementImpl extends EObjectImpl implements ModuleEle
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_ELEMENT__START_POSITION,
oldStartPosition, startPosition));
- }
}
/**
@@ -173,10 +172,9 @@ public abstract class ModuleElementImpl extends EObjectImpl implements ModuleEle
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_ELEMENT__END_POSITION,
oldEndPosition, endPosition));
- }
}
/**
@@ -196,10 +194,9 @@ public abstract class ModuleElementImpl extends EObjectImpl implements ModuleEle
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_ELEMENT__NAME, oldName,
name));
- }
}
/**
@@ -219,10 +216,9 @@ public abstract class ModuleElementImpl extends EObjectImpl implements ModuleEle
public void setVisibility(VisibilityKind newVisibility) {
VisibilityKind oldVisibility = visibility;
visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_ELEMENT__VISIBILITY,
oldVisibility, visibility));
- }
}
/**
@@ -320,9 +316,8 @@ public abstract class ModuleElementImpl extends EObjectImpl implements ModuleEle
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleExtendsValueImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleExtendsValueImpl.java
index 578c549..9b88853 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleExtendsValueImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleExtendsValueImpl.java
@@ -23,8 +23,10 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleExtendsValueImpl#getStartPosition <em>Start Position</em>}</li>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleExtendsValueImpl#getEndPosition <em>End Position</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleExtendsValueImpl#getStartPosition <em>Start Position
+ * </em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleExtendsValueImpl#getEndPosition <em>End Position</em>}
+ * </li>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleExtendsValueImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
@@ -128,10 +130,9 @@ public class ModuleExtendsValueImpl extends EObjectImpl implements ModuleExtends
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.MODULE_EXTENDS_VALUE__START_POSITION, oldStartPosition, startPosition));
- }
}
/**
@@ -151,10 +152,9 @@ public class ModuleExtendsValueImpl extends EObjectImpl implements ModuleExtends
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.MODULE_EXTENDS_VALUE__END_POSITION, oldEndPosition, endPosition));
- }
}
/**
@@ -174,10 +174,9 @@ public class ModuleExtendsValueImpl extends EObjectImpl implements ModuleExtends
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_EXTENDS_VALUE__NAME,
oldName, name));
- }
}
/**
@@ -265,9 +264,8 @@ public class ModuleExtendsValueImpl extends EObjectImpl implements ModuleExtends
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImpl.java
index 9addd44..8ca6f13 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImpl.java
@@ -36,7 +36,8 @@ import org.eclipse.emf.ecore.util.InternalEList;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl#getInput <em>Input</em>}</li>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl#getOwnedModuleElement <em>Owned Module Element</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl#getOwnedModuleElement <em>Owned Module Element
+ * </em>}</li>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl#getExtends <em>Extends</em>}</li>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImpl#getImports <em>Imports</em>}</li>
* </ul>
@@ -161,10 +162,9 @@ public class ModuleImpl extends EPackageImpl implements Module {
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE__START_POSITION,
oldStartPosition, startPosition));
- }
}
/**
@@ -184,10 +184,9 @@ public class ModuleImpl extends EPackageImpl implements Module {
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE__END_POSITION,
oldEndPosition, endPosition));
- }
}
/**
@@ -421,9 +420,8 @@ public class ModuleImpl extends EPackageImpl implements Module {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImportsValueImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImportsValueImpl.java
index d0edf39..4d928c5 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImportsValueImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ModuleImportsValueImpl.java
@@ -23,8 +23,10 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImportsValueImpl#getStartPosition <em>Start Position</em>}</li>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImportsValueImpl#getEndPosition <em>End Position</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImportsValueImpl#getStartPosition <em>Start Position
+ * </em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImportsValueImpl#getEndPosition <em>End Position</em>}
+ * </li>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.ModuleImportsValueImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
@@ -128,10 +130,9 @@ public class ModuleImportsValueImpl extends EObjectImpl implements ModuleImports
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.MODULE_IMPORTS_VALUE__START_POSITION, oldStartPosition, startPosition));
- }
}
/**
@@ -151,10 +152,9 @@ public class ModuleImportsValueImpl extends EObjectImpl implements ModuleImports
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.MODULE_IMPORTS_VALUE__END_POSITION, oldEndPosition, endPosition));
- }
}
/**
@@ -174,10 +174,9 @@ public class ModuleImportsValueImpl extends EObjectImpl implements ModuleImports
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.MODULE_IMPORTS_VALUE__NAME,
oldName, name));
- }
}
/**
@@ -265,9 +264,8 @@ public class ModuleImportsValueImpl extends EObjectImpl implements ModuleImports
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ProtectedAreaBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ProtectedAreaBlockImpl.java
index 10e6808..51397da 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ProtectedAreaBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/ProtectedAreaBlockImpl.java
@@ -81,11 +81,10 @@ public class ProtectedAreaBlockImpl extends BlockImpl implements ProtectedAreaBl
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.PROTECTED_AREA_BLOCK__MARKER, oldMarker, newMarker);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -98,22 +97,18 @@ public class ProtectedAreaBlockImpl extends BlockImpl implements ProtectedAreaBl
public void setMarker(ModelExpression newMarker) {
if (newMarker != marker) {
NotificationChain msgs = null;
- if (marker != null) {
+ if (marker != null)
msgs = ((InternalEObject)marker).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.PROTECTED_AREA_BLOCK__MARKER, null, msgs);
- }
- if (newMarker != null) {
+ if (newMarker != null)
msgs = ((InternalEObject)newMarker).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.PROTECTED_AREA_BLOCK__MARKER, null, msgs);
- }
msgs = basicSetMarker(newMarker, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.PROTECTED_AREA_BLOCK__MARKER,
newMarker, newMarker));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/QueryImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/QueryImpl.java
index 6d6e132..7039f7a 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/QueryImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/QueryImpl.java
@@ -127,9 +127,8 @@ public class QueryImpl extends ModuleElementImpl implements Query {
public void setType(String newType) {
String oldType = type;
type = newType;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.QUERY__TYPE, oldType, type));
- }
}
/**
@@ -152,11 +151,10 @@ public class QueryImpl extends ModuleElementImpl implements Query {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.QUERY__EXPRESSION, oldExpression, newExpression);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -169,22 +167,18 @@ public class QueryImpl extends ModuleElementImpl implements Query {
public void setExpression(ModelExpression newExpression) {
if (newExpression != expression) {
NotificationChain msgs = null;
- if (expression != null) {
+ if (expression != null)
msgs = ((InternalEObject)expression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.QUERY__EXPRESSION, null, msgs);
- }
- if (newExpression != null) {
+ if (newExpression != null)
msgs = ((InternalEObject)newExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.QUERY__EXPRESSION, null, msgs);
- }
msgs = basicSetExpression(newExpression, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.QUERY__EXPRESSION,
newExpression, newExpression));
- }
}
/**
@@ -290,9 +284,8 @@ public class QueryImpl extends ModuleElementImpl implements Query {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (type: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateExpressionImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateExpressionImpl.java
index 85a39e4..3fd6e5c 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateExpressionImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateExpressionImpl.java
@@ -23,8 +23,10 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateExpressionImpl#getStartPosition <em>Start Position</em>}</li>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateExpressionImpl#getEndPosition <em>End Position</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateExpressionImpl#getStartPosition <em>Start Position
+ * </em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateExpressionImpl#getEndPosition <em>End Position</em>}
+ * </li>
* </ul>
* </p>
*
@@ -107,10 +109,9 @@ public class TemplateExpressionImpl extends EObjectImpl implements TemplateExpre
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.TEMPLATE_EXPRESSION__START_POSITION, oldStartPosition, startPosition));
- }
}
/**
@@ -130,10 +131,9 @@ public class TemplateExpressionImpl extends EObjectImpl implements TemplateExpre
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.TEMPLATE_EXPRESSION__END_POSITION, oldEndPosition, endPosition));
- }
}
/**
@@ -211,9 +211,8 @@ public class TemplateExpressionImpl extends EObjectImpl implements TemplateExpre
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateImpl.java
index ab0acd0..be3214e 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateImpl.java
@@ -151,9 +151,8 @@ public class TemplateImpl extends BlockImpl implements Template {
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TEMPLATE__NAME, oldName, name));
- }
}
/**
@@ -173,10 +172,9 @@ public class TemplateImpl extends BlockImpl implements Template {
public void setVisibility(VisibilityKind newVisibility) {
VisibilityKind oldVisibility = visibility;
visibility = newVisibility == null ? VISIBILITY_EDEFAULT : newVisibility;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TEMPLATE__VISIBILITY,
oldVisibility, visibility));
- }
}
/**
@@ -225,11 +223,10 @@ public class TemplateImpl extends BlockImpl implements Template {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.TEMPLATE__GUARD, oldGuard, newGuard);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -242,22 +239,18 @@ public class TemplateImpl extends BlockImpl implements Template {
public void setGuard(ModelExpression newGuard) {
if (newGuard != guard) {
NotificationChain msgs = null;
- if (guard != null) {
+ if (guard != null)
msgs = ((InternalEObject)guard).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.TEMPLATE__GUARD, null, msgs);
- }
- if (newGuard != null) {
+ if (newGuard != null)
msgs = ((InternalEObject)newGuard).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.TEMPLATE__GUARD, null, msgs);
- }
msgs = basicSetGuard(newGuard, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TEMPLATE__GUARD, newGuard,
newGuard));
- }
}
/**
@@ -426,9 +419,8 @@ public class TemplateImpl extends BlockImpl implements Template {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateOverridesValueImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateOverridesValueImpl.java
index df696e8..80efbc6 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateOverridesValueImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TemplateOverridesValueImpl.java
@@ -23,8 +23,10 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl#getStartPosition <em>Start Position</em>}</li>
- * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl#getEndPosition <em>End Position</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl#getStartPosition <em>Start
+ * Position</em>}</li>
+ * <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl#getEndPosition <em>End Position
+ * </em>}</li>
* <li>{@link org.eclipse.acceleo.parser.cst.impl.TemplateOverridesValueImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
@@ -128,10 +130,9 @@ public class TemplateOverridesValueImpl extends EObjectImpl implements TemplateO
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.TEMPLATE_OVERRIDES_VALUE__START_POSITION, oldStartPosition, startPosition));
- }
}
/**
@@ -151,10 +152,9 @@ public class TemplateOverridesValueImpl extends EObjectImpl implements TemplateO
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
CstPackage.TEMPLATE_OVERRIDES_VALUE__END_POSITION, oldEndPosition, endPosition));
- }
}
/**
@@ -174,10 +174,9 @@ public class TemplateOverridesValueImpl extends EObjectImpl implements TemplateO
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TEMPLATE_OVERRIDES_VALUE__NAME,
oldName, name));
- }
}
/**
@@ -265,9 +264,8 @@ public class TemplateOverridesValueImpl extends EObjectImpl implements TemplateO
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TextExpressionImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TextExpressionImpl.java
index 3c9ad2f..754d32e 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TextExpressionImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TextExpressionImpl.java
@@ -85,10 +85,9 @@ public class TextExpressionImpl extends TemplateExpressionImpl implements TextEx
public void setValue(String newValue) {
String oldValue = value;
value = newValue;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TEXT_EXPRESSION__VALUE,
oldValue, value));
- }
}
/**
@@ -156,9 +155,8 @@ public class TextExpressionImpl extends TemplateExpressionImpl implements TextEx
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (value: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TraceBlockImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TraceBlockImpl.java
index 7bda200..96c23c8 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TraceBlockImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TraceBlockImpl.java
@@ -81,11 +81,10 @@ public class TraceBlockImpl extends BlockImpl implements TraceBlock {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.TRACE_BLOCK__MODEL_ELEMENT, oldModelElement, newModelElement);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -98,22 +97,18 @@ public class TraceBlockImpl extends BlockImpl implements TraceBlock {
public void setModelElement(ModelExpression newModelElement) {
if (newModelElement != modelElement) {
NotificationChain msgs = null;
- if (modelElement != null) {
+ if (modelElement != null)
msgs = ((InternalEObject)modelElement).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.TRACE_BLOCK__MODEL_ELEMENT, null, msgs);
- }
- if (newModelElement != null) {
+ if (newModelElement != null)
msgs = ((InternalEObject)newModelElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.TRACE_BLOCK__MODEL_ELEMENT, null, msgs);
- }
msgs = basicSetModelElement(newModelElement, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TRACE_BLOCK__MODEL_ELEMENT,
newModelElement, newModelElement));
- }
}
/**
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TypedModelImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TypedModelImpl.java
index 4f3ae10..b19093c 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TypedModelImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/TypedModelImpl.java
@@ -123,10 +123,9 @@ public class TypedModelImpl extends EObjectImpl implements TypedModel {
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TYPED_MODEL__START_POSITION,
oldStartPosition, startPosition));
- }
}
/**
@@ -146,10 +145,9 @@ public class TypedModelImpl extends EObjectImpl implements TypedModel {
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.TYPED_MODEL__END_POSITION,
oldEndPosition, endPosition));
- }
}
/**
@@ -252,9 +250,8 @@ public class TypedModelImpl extends EObjectImpl implements TypedModel {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/VariableImpl.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/VariableImpl.java
index 12c8a3b..90ad201 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/VariableImpl.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/impl/VariableImpl.java
@@ -162,10 +162,9 @@ public class VariableImpl extends EObjectImpl implements Variable {
public void setStartPosition(int newStartPosition) {
int oldStartPosition = startPosition;
startPosition = newStartPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.VARIABLE__START_POSITION,
oldStartPosition, startPosition));
- }
}
/**
@@ -185,10 +184,9 @@ public class VariableImpl extends EObjectImpl implements Variable {
public void setEndPosition(int newEndPosition) {
int oldEndPosition = endPosition;
endPosition = newEndPosition;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.VARIABLE__END_POSITION,
oldEndPosition, endPosition));
- }
}
/**
@@ -208,9 +206,8 @@ public class VariableImpl extends EObjectImpl implements Variable {
public void setName(String newName) {
String oldName = name;
name = newName;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.VARIABLE__NAME, oldName, name));
- }
}
/**
@@ -230,9 +227,8 @@ public class VariableImpl extends EObjectImpl implements Variable {
public void setType(String newType) {
String oldType = type;
type = newType;
- if (eNotificationRequired()) {
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.VARIABLE__TYPE, oldType, type));
- }
}
/**
@@ -255,11 +251,10 @@ public class VariableImpl extends EObjectImpl implements Variable {
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
CstPackage.VARIABLE__INIT_EXPRESSION, oldInitExpression, newInitExpression);
- if (msgs == null) {
+ if (msgs == null)
msgs = notification;
- } else {
+ else
msgs.add(notification);
- }
}
return msgs;
}
@@ -272,22 +267,18 @@ public class VariableImpl extends EObjectImpl implements Variable {
public void setInitExpression(ModelExpression newInitExpression) {
if (newInitExpression != initExpression) {
NotificationChain msgs = null;
- if (initExpression != null) {
+ if (initExpression != null)
msgs = ((InternalEObject)initExpression).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
- CstPackage.VARIABLE__INIT_EXPRESSION, null, msgs);
- }
- if (newInitExpression != null) {
+ if (newInitExpression != null)
msgs = ((InternalEObject)newInitExpression).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
- CstPackage.VARIABLE__INIT_EXPRESSION, null, msgs);
- }
msgs = basicSetInitExpression(newInitExpression, msgs);
- if (msgs != null) {
+ if (msgs != null)
msgs.dispatch();
- }
- } else if (eNotificationRequired()) {
+ } else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, CstPackage.VARIABLE__INIT_EXPRESSION,
newInitExpression, newInitExpression));
- }
}
/**
@@ -409,9 +400,8 @@ public class VariableImpl extends EObjectImpl implements Variable {
*/
@Override
public String toString() {
- if (eIsProxy()) {
+ if (eIsProxy())
return super.toString();
- }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (startPosition: "); //$NON-NLS-1$
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstAdapterFactory.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstAdapterFactory.java
index c98da8b..1665e0b 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstAdapterFactory.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstAdapterFactory.java
@@ -244,9 +244,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.CSTNode <em>CST Node</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.CSTNode
+ * <em>CST Node</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.CSTNode
@@ -257,9 +258,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Module <em>Module</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's
- * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Module
+ * <em>Module</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Module
@@ -326,9 +328,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Comment <em>Comment</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Comment
+ * <em>Comment</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Comment
@@ -339,9 +342,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Template <em>Template</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Template
+ * <em>Template</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Template
@@ -352,10 +356,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue
- * <em>Template Overrides Value</em>}'. <!-- begin-user-doc --> This default implementation returns null
- * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the
- * cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.acceleo.parser.cst.TemplateOverridesValue <em>Template Overrides Value</em>}'. <!--
+ * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's
+ * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.TemplateOverridesValue
@@ -366,9 +370,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Variable <em>Variable</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Variable
+ * <em>Variable</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Variable
@@ -421,9 +426,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Block <em>Block</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's
- * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Block
+ * <em>Block</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Block
@@ -462,9 +468,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.ForBlock <em>For Block</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.ForBlock
+ * <em>For Block</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.ForBlock
@@ -475,9 +482,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.IfBlock <em>If Block</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.IfBlock
+ * <em>If Block</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.IfBlock
@@ -488,9 +496,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.LetBlock <em>Let Block</em>}'.
- * <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.LetBlock
+ * <em>Let Block</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.LetBlock
@@ -501,9 +510,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.FileBlock <em>File Block</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.FileBlock
+ * <em>File Block</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.FileBlock
@@ -528,9 +538,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Macro <em>Macro</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's
- * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Macro
+ * <em>Macro</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Macro
@@ -541,9 +552,10 @@ public class CstAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Query <em>Query</em>}'. <!--
- * begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's
- * useful to ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
+ * Creates a new adapter for an object of class '{@link org.eclipse.acceleo.parser.cst.Query
+ * <em>Query</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
*
* @return the new adapter.
* @see org.eclipse.acceleo.parser.cst.Query
diff --git a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstSwitch.java b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstSwitch.java
index aae0506..8eb10a1 100644
--- a/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstSwitch.java
+++ b/plugins/org.eclipse.acceleo.parser/src-gen/org/eclipse/acceleo/parser/cst/util/CstSwitch.java
@@ -109,332 +109,260 @@ public class CstSwitch<T> {
case CstPackage.CST_NODE: {
CSTNode cstNode = (CSTNode)theEObject;
T result = caseCSTNode(cstNode);
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MODULE: {
Module module = (Module)theEObject;
T result = caseModule(module);
- if (result == null) {
+ if (result == null)
result = caseEPackage(module);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(module);
- }
- if (result == null) {
+ if (result == null)
result = caseENamedElement(module);
- }
- if (result == null) {
+ if (result == null)
result = caseEModelElement(module);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MODULE_EXTENDS_VALUE: {
ModuleExtendsValue moduleExtendsValue = (ModuleExtendsValue)theEObject;
T result = caseModuleExtendsValue(moduleExtendsValue);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(moduleExtendsValue);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MODULE_IMPORTS_VALUE: {
ModuleImportsValue moduleImportsValue = (ModuleImportsValue)theEObject;
T result = caseModuleImportsValue(moduleImportsValue);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(moduleImportsValue);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TYPED_MODEL: {
TypedModel typedModel = (TypedModel)theEObject;
T result = caseTypedModel(typedModel);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(typedModel);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MODULE_ELEMENT: {
ModuleElement moduleElement = (ModuleElement)theEObject;
T result = caseModuleElement(moduleElement);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(moduleElement);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.COMMENT: {
Comment comment = (Comment)theEObject;
T result = caseComment(comment);
- if (result == null) {
+ if (result == null)
result = caseModuleElement(comment);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(comment);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(comment);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TEMPLATE: {
Template template = (Template)theEObject;
T result = caseTemplate(template);
- if (result == null) {
+ if (result == null)
result = caseBlock(template);
- }
- if (result == null) {
+ if (result == null)
result = caseModuleElement(template);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(template);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(template);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TEMPLATE_OVERRIDES_VALUE: {
TemplateOverridesValue templateOverridesValue = (TemplateOverridesValue)theEObject;
T result = caseTemplateOverridesValue(templateOverridesValue);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(templateOverridesValue);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.VARIABLE: {
Variable variable = (Variable)theEObject;
T result = caseVariable(variable);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(variable);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TEMPLATE_EXPRESSION: {
TemplateExpression templateExpression = (TemplateExpression)theEObject;
T result = caseTemplateExpression(templateExpression);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(templateExpression);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MODEL_EXPRESSION: {
ModelExpression modelExpression = (ModelExpression)theEObject;
T result = caseModelExpression(modelExpression);
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(modelExpression);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(modelExpression);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TEXT_EXPRESSION: {
TextExpression textExpression = (TextExpression)theEObject;
T result = caseTextExpression(textExpression);
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(textExpression);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(textExpression);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.BLOCK: {
Block block = (Block)theEObject;
T result = caseBlock(block);
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(block);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(block);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.INIT_SECTION: {
InitSection initSection = (InitSection)theEObject;
T result = caseInitSection(initSection);
- if (result == null) {
+ if (result == null)
result = caseCSTNode(initSection);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.PROTECTED_AREA_BLOCK: {
ProtectedAreaBlock protectedAreaBlock = (ProtectedAreaBlock)theEObject;
T result = caseProtectedAreaBlock(protectedAreaBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(protectedAreaBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(protectedAreaBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(protectedAreaBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.FOR_BLOCK: {
ForBlock forBlock = (ForBlock)theEObject;
T result = caseForBlock(forBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(forBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(forBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(forBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.IF_BLOCK: {
IfBlock ifBlock = (IfBlock)theEObject;
T result = caseIfBlock(ifBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(ifBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(ifBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(ifBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.LET_BLOCK: {
LetBlock letBlock = (LetBlock)theEObject;
T result = caseLetBlock(letBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(letBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(letBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(letBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.FILE_BLOCK: {
FileBlock fileBlock = (FileBlock)theEObject;
T result = caseFileBlock(fileBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(fileBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(fileBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(fileBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.TRACE_BLOCK: {
TraceBlock traceBlock = (TraceBlock)theEObject;
T result = caseTraceBlock(traceBlock);
- if (result == null) {
+ if (result == null)
result = caseBlock(traceBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(traceBlock);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(traceBlock);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.MACRO: {
Macro macro = (Macro)theEObject;
T result = caseMacro(macro);
- if (result == null) {
+ if (result == null)
result = caseBlock(macro);
- }
- if (result == null) {
+ if (result == null)
result = caseModuleElement(macro);
- }
- if (result == null) {
+ if (result == null)
result = caseTemplateExpression(macro);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(macro);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
case CstPackage.QUERY: {
Query query = (Query)theEObject;
T result = caseQuery(query);
- if (result == null) {
+ if (result == null)
result = caseModuleElement(query);
- }
- if (result == null) {
+ if (result == null)
result = caseCSTNode(query);
- }
- if (result == null) {
+ if (result == null)
result = defaultCase(theEObject);
- }
return result;
}
default:
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/IAcceleoParserProblemsConstants.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/IAcceleoParserProblemsConstants.java
index 56a77f3..3e70664 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/IAcceleoParserProblemsConstants.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/IAcceleoParserProblemsConstants.java
@@ -32,12 +32,14 @@ public interface IAcceleoParserProblemsConstants {
/**
* Syntax problem message : Text not valid.
*/
- String SYNTAX_TEXT_NOT_VALID = AcceleoParserMessages.getString("IAcceleoParserProblemsConstants.InvalidText"); //$NON-NLS-1$
+ String SYNTAX_TEXT_NOT_VALID = AcceleoParserMessages
+ .getString("IAcceleoParserProblemsConstants.InvalidText"); //$NON-NLS-1$
/**
* Syntax problem message : Type not valid.
*/
- String SYNTAX_TYPE_NOT_VALID = AcceleoParserMessages.getString("IAcceleoParserProblemsConstants.InvalidType") + ':'; //$NON-NLS-1$
+ String SYNTAX_TYPE_NOT_VALID = AcceleoParserMessages
+ .getString("IAcceleoParserProblemsConstants.InvalidType") + ':'; //$NON-NLS-1$
/**
* Syntax problem message : Name not valid.
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ASTFactory.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ASTFactory.java
index d6141dc..e2859b6 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ASTFactory.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ASTFactory.java
@@ -167,7 +167,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.Module'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.Module'
*/
- protected org.eclipse.acceleo.model.mtl.Module getOrCreateModule(org.eclipse.acceleo.parser.cst.Module iModule) {
+ protected org.eclipse.acceleo.model.mtl.Module getOrCreateModule(
+ org.eclipse.acceleo.parser.cst.Module iModule) {
if (iModule != null) {
org.eclipse.acceleo.model.mtl.Module oModule = ioModule.get(iModule);
if (oModule == null) {
@@ -187,7 +188,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.TypedModel'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.TypedModel'
*/
- protected org.eclipse.acceleo.model.mtl.TypedModel getOrCreateTypedModel(org.eclipse.acceleo.parser.cst.TypedModel iTypedModel) {
+ protected org.eclipse.acceleo.model.mtl.TypedModel getOrCreateTypedModel(
+ org.eclipse.acceleo.parser.cst.TypedModel iTypedModel) {
if (iTypedModel != null) {
org.eclipse.acceleo.model.mtl.TypedModel oTypedModel = ioTypedModel.get(iTypedModel);
if (oTypedModel == null) {
@@ -207,7 +209,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.Template'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.Template'
*/
- protected org.eclipse.acceleo.model.mtl.Template getOrCreateTemplate(org.eclipse.acceleo.parser.cst.Template iTemplate) {
+ protected org.eclipse.acceleo.model.mtl.Template getOrCreateTemplate(
+ org.eclipse.acceleo.parser.cst.Template iTemplate) {
if (iTemplate != null) {
org.eclipse.acceleo.model.mtl.Template oTemplate = ioTemplate.get(iTemplate);
if (oTemplate == null) {
@@ -227,7 +230,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.Variable'
* @return the output object of type 'org.eclipse.ocl.ecore.Variable'
*/
- protected org.eclipse.ocl.ecore.Variable getOrCreateVariable(org.eclipse.acceleo.parser.cst.Variable iVariable) {
+ protected org.eclipse.ocl.ecore.Variable getOrCreateVariable(
+ org.eclipse.acceleo.parser.cst.Variable iVariable) {
if (iVariable != null) {
org.eclipse.ocl.ecore.Variable oVariable = ioVariable.get(iVariable);
if (oVariable == null) {
@@ -255,7 +259,8 @@ public class ASTFactory {
org.eclipse.acceleo.model.mtl.TemplateExpression oTemplateExpression = ioTemplateExpression
.get(iTemplateExpression);
if (oTemplateExpression == null) {
- oTemplateExpression = org.eclipse.acceleo.model.mtl.MtlFactory.eINSTANCE.createTemplateExpression();
+ oTemplateExpression = org.eclipse.acceleo.model.mtl.MtlFactory.eINSTANCE
+ .createTemplateExpression();
ioTemplateExpression.put(iTemplateExpression, oTemplateExpression);
}
return oTemplateExpression;
@@ -359,7 +364,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.InitSection'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.InitSection'
*/
- protected org.eclipse.acceleo.model.mtl.InitSection getOrCreateInitSection(org.eclipse.acceleo.parser.cst.InitSection iInitSection) {
+ protected org.eclipse.acceleo.model.mtl.InitSection getOrCreateInitSection(
+ org.eclipse.acceleo.parser.cst.InitSection iInitSection) {
if (iInitSection != null) {
org.eclipse.acceleo.model.mtl.InitSection oInitSection = ioInitSection.get(iInitSection);
if (oInitSection == null) {
@@ -385,7 +391,8 @@ public class ASTFactory {
org.eclipse.acceleo.model.mtl.ProtectedAreaBlock oProtectedAreaBlock = ioProtectedAreaBlock
.get(iProtectedAreaBlock);
if (oProtectedAreaBlock == null) {
- oProtectedAreaBlock = org.eclipse.acceleo.model.mtl.MtlFactory.eINSTANCE.createProtectedAreaBlock();
+ oProtectedAreaBlock = org.eclipse.acceleo.model.mtl.MtlFactory.eINSTANCE
+ .createProtectedAreaBlock();
ioProtectedAreaBlock.put(iProtectedAreaBlock, oProtectedAreaBlock);
}
return oProtectedAreaBlock;
@@ -401,7 +408,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.ForBlock'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.ForBlock'
*/
- protected org.eclipse.acceleo.model.mtl.ForBlock getOrCreateForBlock(org.eclipse.acceleo.parser.cst.ForBlock iForBlock) {
+ protected org.eclipse.acceleo.model.mtl.ForBlock getOrCreateForBlock(
+ org.eclipse.acceleo.parser.cst.ForBlock iForBlock) {
if (iForBlock != null) {
org.eclipse.acceleo.model.mtl.ForBlock oForBlock = ioForBlock.get(iForBlock);
if (oForBlock == null) {
@@ -421,7 +429,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.IfBlock'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.IfBlock'
*/
- protected org.eclipse.acceleo.model.mtl.IfBlock getOrCreateIfBlock(org.eclipse.acceleo.parser.cst.IfBlock iIfBlock) {
+ protected org.eclipse.acceleo.model.mtl.IfBlock getOrCreateIfBlock(
+ org.eclipse.acceleo.parser.cst.IfBlock iIfBlock) {
if (iIfBlock != null) {
org.eclipse.acceleo.model.mtl.IfBlock oIfBlock = ioIfBlock.get(iIfBlock);
if (oIfBlock == null) {
@@ -441,7 +450,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.LetBlock'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.LetBlock'
*/
- protected org.eclipse.acceleo.model.mtl.LetBlock getOrCreateLetBlock(org.eclipse.acceleo.parser.cst.LetBlock iLetBlock) {
+ protected org.eclipse.acceleo.model.mtl.LetBlock getOrCreateLetBlock(
+ org.eclipse.acceleo.parser.cst.LetBlock iLetBlock) {
if (iLetBlock != null) {
org.eclipse.acceleo.model.mtl.LetBlock oLetBlock = ioLetBlock.get(iLetBlock);
if (oLetBlock == null) {
@@ -461,7 +471,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.FileBlock'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.FileBlock'
*/
- protected org.eclipse.acceleo.model.mtl.FileBlock getOrCreateFileBlock(org.eclipse.acceleo.parser.cst.FileBlock iFileBlock) {
+ protected org.eclipse.acceleo.model.mtl.FileBlock getOrCreateFileBlock(
+ org.eclipse.acceleo.parser.cst.FileBlock iFileBlock) {
if (iFileBlock != null) {
org.eclipse.acceleo.model.mtl.FileBlock oFileBlock = ioFileBlock.get(iFileBlock);
if (oFileBlock == null) {
@@ -481,7 +492,8 @@ public class ASTFactory {
* is the input object of type 'org.eclipse.acceleo.parser.cst.TraceBlock'
* @return the output object of type 'org.eclipse.acceleo.model.mtl.TraceBlock'
*/
- protected org.eclipse.acceleo.model.mtl.TraceBlock getOrCreateTraceBlock(org.eclipse.acceleo.parser.cst.TraceBlock iTraceBlock) {
+ protected org.eclipse.acceleo.model.mtl.TraceBlock getOrCreateTraceBlock(
+ org.eclipse.acceleo.parser.cst.TraceBlock iTraceBlock) {
if (iTraceBlock != null) {
org.eclipse.acceleo.model.mtl.TraceBlock oTraceBlock = ioTraceBlock.get(iTraceBlock);
if (oTraceBlock == null) {
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverter.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverter.java
index 97f870b..22712c2 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverter.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverter.java
@@ -113,7 +113,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Module' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Module' of the input
+ * model.
*
* @param iModule
* is the input object of type 'org.eclipse.acceleo.parser.cst.Module'
@@ -139,7 +140,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the
+ * input model.
*
* @param iTypedModel
* is the input object of type 'org.eclipse.acceleo.parser.cst.TypedModel'
@@ -156,7 +158,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Template' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Template' of the
+ * input model.
*
* @param iTemplate
* is the input object of type 'org.eclipse.acceleo.parser.cst.Template'
@@ -165,8 +168,8 @@ public class CST2ASTConverter {
org.eclipse.acceleo.model.mtl.Template oTemplate = factory.getOrCreateTemplate(iTemplate);
if (iTemplate != null && oTemplate != null) {
org.eclipse.acceleo.parser.cst.VisibilityKind iVisibility = iTemplate.getVisibility();
- org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind.get(iVisibility
- .getValue());
+ org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind
+ .get(iVisibility.getValue());
oTemplate.setVisibility(oVisibility);
transformStepCopyPositions(iTemplate, oTemplate);
String ioName = iTemplate.getName();
@@ -182,7 +185,8 @@ public class CST2ASTConverter {
transformStepCopy(iGuard);
transformStepCopyBody(iTemplate, oTemplate);
- Iterator<org.eclipse.acceleo.parser.cst.Variable> iParameterIt = iTemplate.getParameter().iterator();
+ Iterator<org.eclipse.acceleo.parser.cst.Variable> iParameterIt = iTemplate.getParameter()
+ .iterator();
while (iParameterIt.hasNext()) {
org.eclipse.acceleo.parser.cst.Variable iNext = iParameterIt.next();
org.eclipse.ocl.ecore.Variable oNext = factory.getOrCreateVariable(iNext);
@@ -207,7 +211,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the
+ * input model.
*
* @param iVariable
* is the input object of type 'org.eclipse.acceleo.parser.cst.Variable'
@@ -227,8 +232,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ModelExpression' of the input
- * model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ModelExpression' of
+ * the input model.
*
* @param iModelExpression
* is the input object of type 'org.eclipse.acceleo.parser.cst.ModelExpression'
@@ -238,8 +243,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TextExpression' of the input
- * model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TextExpression' of
+ * the input model.
*
* @param iTextExpression
* is the input object of type 'org.eclipse.acceleo.parser.cst.TextExpression'
@@ -364,7 +369,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Block' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Block' of the input
+ * model.
*
* @param iBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.Block'
@@ -385,8 +391,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.InitSection' of the input
- * model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.InitSection' of the
+ * input model.
*
* @param iInitSection
* is the input object of type 'org.eclipse.acceleo.parser.cst.InitSection'
@@ -395,7 +401,8 @@ public class CST2ASTConverter {
org.eclipse.acceleo.model.mtl.InitSection oInitSection = factory.getOrCreateInitSection(iInitSection);
if (iInitSection != null && oInitSection != null) {
transformStepCopyPositions(iInitSection, oInitSection);
- Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable().iterator();
+ Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable()
+ .iterator();
while (iVariableIt.hasNext()) {
org.eclipse.acceleo.parser.cst.Variable iNext = iVariableIt.next();
org.eclipse.ocl.ecore.Variable oNext = factory.getOrCreateVariable(iNext);
@@ -409,8 +416,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock' of the
- * input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock'
+ * of the input model.
*
* @param iProtectedAreaBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock'
@@ -435,7 +442,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ForBlock' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.ForBlock' of the
+ * input model.
*
* @param iForBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.ForBlock'
@@ -478,7 +486,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.IfBlock' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.IfBlock' of the
+ * input model.
*
* @param iIfBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.IfBlock'
@@ -537,7 +546,8 @@ public class CST2ASTConverter {
}
transformStepCopy((org.eclipse.acceleo.parser.cst.TraceBlock)iElse);
} else if (iElse instanceof org.eclipse.acceleo.parser.cst.Macro) {
- org.eclipse.acceleo.model.mtl.Macro oElse = factory.getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iElse);
+ org.eclipse.acceleo.model.mtl.Macro oElse = factory
+ .getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iElse);
if (oElse != null) {
oIfBlock.setElse(oElse);
}
@@ -576,7 +586,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.LetBlock' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.LetBlock' of the
+ * input model.
*
* @param iLetBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.LetBlock'
@@ -635,7 +646,8 @@ public class CST2ASTConverter {
}
transformStepCopy((org.eclipse.acceleo.parser.cst.TraceBlock)iElse);
} else if (iElse instanceof org.eclipse.acceleo.parser.cst.Macro) {
- org.eclipse.acceleo.model.mtl.Macro oElse = factory.getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iElse);
+ org.eclipse.acceleo.model.mtl.Macro oElse = factory
+ .getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iElse);
if (oElse != null) {
oLetBlock.setElse(oElse);
}
@@ -679,7 +691,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.FileBlock' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.FileBlock' of the
+ * input model.
*
* @param iFileBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.FileBlock'
@@ -688,7 +701,8 @@ public class CST2ASTConverter {
org.eclipse.acceleo.model.mtl.FileBlock oFileBlock = factory.getOrCreateFileBlock(iFileBlock);
if (iFileBlock != null && oFileBlock != null) {
org.eclipse.acceleo.parser.cst.OpenModeKind iOpenMode = iFileBlock.getOpenMode();
- org.eclipse.acceleo.model.mtl.OpenModeKind oOpenMode = org.eclipse.acceleo.model.mtl.OpenModeKind.get(iOpenMode.getValue());
+ org.eclipse.acceleo.model.mtl.OpenModeKind oOpenMode = org.eclipse.acceleo.model.mtl.OpenModeKind
+ .get(iOpenMode.getValue());
oFileBlock.setOpenMode(oOpenMode);
transformStepCopyPositions(iFileBlock, oFileBlock);
org.eclipse.acceleo.parser.cst.InitSection iInit = iFileBlock.getInit();
@@ -709,7 +723,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TraceBlock' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.TraceBlock' of the
+ * input model.
*
* @param iTraceBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.TraceBlock'
@@ -733,7 +748,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Macro' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Macro' of the input
+ * model.
*
* @param iMacro
* is the input object of type 'org.eclipse.acceleo.parser.cst.Macro'
@@ -742,8 +758,8 @@ public class CST2ASTConverter {
org.eclipse.acceleo.model.mtl.Macro oMacro = factory.getOrCreateMacro(iMacro);
if (iMacro != null && oMacro != null) {
org.eclipse.acceleo.parser.cst.VisibilityKind iVisibility = iMacro.getVisibility();
- org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind.get(iVisibility
- .getValue());
+ org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind
+ .get(iVisibility.getValue());
oMacro.setVisibility(oVisibility);
transformStepCopyPositions(iMacro, oMacro);
String ioName = iMacro.getName();
@@ -776,7 +792,8 @@ public class CST2ASTConverter {
}
/**
- * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Query' of the input model.
+ * The step 'StepCopy' of the transformation for each 'org.eclipse.acceleo.parser.cst.Query' of the input
+ * model.
*
* @param iQuery
* is the input object of type 'org.eclipse.acceleo.parser.cst.Query'
@@ -785,8 +802,8 @@ public class CST2ASTConverter {
org.eclipse.acceleo.model.mtl.Query oQuery = factory.getOrCreateQuery(iQuery);
if (iQuery != null && oQuery != null) {
org.eclipse.acceleo.parser.cst.VisibilityKind iVisibility = iQuery.getVisibility();
- org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind.get(iVisibility
- .getValue());
+ org.eclipse.acceleo.model.mtl.VisibilityKind oVisibility = org.eclipse.acceleo.model.mtl.VisibilityKind
+ .get(iVisibility.getValue());
oQuery.setVisibility(oVisibility);
transformStepCopyPositions(iQuery, oQuery);
String ioName = iQuery.getName();
@@ -837,13 +854,15 @@ public class CST2ASTConverter {
}
transformStepCopy((org.eclipse.acceleo.parser.cst.Template)iNext);
} else if (iNext instanceof org.eclipse.acceleo.parser.cst.Macro) {
- org.eclipse.acceleo.model.mtl.Macro oNext = factory.getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iNext);
+ org.eclipse.acceleo.model.mtl.Macro oNext = factory
+ .getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iNext);
if (oNext != null) {
oModule.getOwnedModuleElement().add(oNext);
}
transformStepCopy((org.eclipse.acceleo.parser.cst.Macro)iNext);
} else if (iNext instanceof org.eclipse.acceleo.parser.cst.Query) {
- org.eclipse.acceleo.model.mtl.Query oNext = factory.getOrCreateQuery((org.eclipse.acceleo.parser.cst.Query)iNext);
+ org.eclipse.acceleo.model.mtl.Query oNext = factory
+ .getOrCreateQuery((org.eclipse.acceleo.parser.cst.Query)iNext);
if (oNext != null) {
oModule.getOwnedModuleElement().add(oNext);
}
@@ -861,7 +880,8 @@ public class CST2ASTConverter {
* @param oBlock
* is the output block
*/
- private void transformStepCopyBody(org.eclipse.acceleo.parser.cst.Block iBlock, org.eclipse.acceleo.model.mtl.Block oBlock) {
+ private void transformStepCopyBody(org.eclipse.acceleo.parser.cst.Block iBlock,
+ org.eclipse.acceleo.model.mtl.Block oBlock) {
if (!isCanceled) {
Iterator<org.eclipse.acceleo.parser.cst.TemplateExpression> iBodyIt = iBlock.getBody().iterator();
while (iBodyIt.hasNext()) {
@@ -923,13 +943,15 @@ public class CST2ASTConverter {
}
transformStepCopy((org.eclipse.acceleo.parser.cst.TraceBlock)iNext);
} else if (iNext instanceof org.eclipse.acceleo.parser.cst.Macro) {
- org.eclipse.acceleo.model.mtl.Macro oNext = factory.getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iNext);
+ org.eclipse.acceleo.model.mtl.Macro oNext = factory
+ .getOrCreateMacro((org.eclipse.acceleo.parser.cst.Macro)iNext);
if (oNext != null) {
oBlock.getBody().add(oNext);
}
transformStepCopy((org.eclipse.acceleo.parser.cst.Macro)iNext);
} else if (iNext instanceof org.eclipse.acceleo.parser.cst.Block) {
- org.eclipse.acceleo.model.mtl.Block oNext = factory.getOrCreateBlock((org.eclipse.acceleo.parser.cst.Block)iNext);
+ org.eclipse.acceleo.model.mtl.Block oNext = factory
+ .getOrCreateBlock((org.eclipse.acceleo.parser.cst.Block)iNext);
if (oNext != null) {
oBlock.getBody().add(oNext);
}
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverterWithResolver.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverterWithResolver.java
index ccd618f..c84a6c3 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverterWithResolver.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/CST2ASTConverterWithResolver.java
@@ -96,7 +96,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Module' of the input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Module' of the
+ * input model.
*
* @param iModule
* is the input object of type 'org.eclipse.acceleo.parser.cst.Module'
@@ -113,7 +114,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
Iterator<ModuleImportsValue> iImportsIt = iModule.getImports().iterator();
while (iImportsIt.hasNext()) {
ModuleImportsValue ioNext = iImportsIt.next();
- org.eclipse.acceleo.model.mtl.Module oImportedModule = getModuleNamed(oModule.eResource(), ioNext.getName());
+ org.eclipse.acceleo.model.mtl.Module oImportedModule = getModuleNamed(oModule.eResource(),
+ ioNext.getName());
if (oImportedModule == null) {
log(AcceleoParserMessages.getString("CST2ASTConverterWithResolver.MissingModule", ioNext //$NON-NLS-1$
.getName()), ioNext.getStartPosition(), ioNext.getEndPosition());
@@ -124,7 +126,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
Iterator<ModuleExtendsValue> iExtendsIt = iModule.getExtends().iterator();
while (iExtendsIt.hasNext()) {
ModuleExtendsValue ioNext = iExtendsIt.next();
- org.eclipse.acceleo.model.mtl.Module oExtendedModule = getModuleNamed(oModule.eResource(), ioNext.getName());
+ org.eclipse.acceleo.model.mtl.Module oExtendedModule = getModuleNamed(oModule.eResource(),
+ ioNext.getName());
if (oExtendedModule == null) {
log(AcceleoParserMessages.getString("CST2ASTConverterWithResolver.MissingModule", ioNext //$NON-NLS-1$
.getName()), ioNext.getStartPosition(), ioNext.getEndPosition());
@@ -162,8 +165,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
Resource otherResource = itOtherResources.next();
if (otherResource.getContents().size() > 0
&& otherResource.getContents().get(0) instanceof org.eclipse.acceleo.model.mtl.Module) {
- org.eclipse.acceleo.model.mtl.Module otherModule = (org.eclipse.acceleo.model.mtl.Module)otherResource.getContents().get(
- 0);
+ org.eclipse.acceleo.model.mtl.Module otherModule = (org.eclipse.acceleo.model.mtl.Module)otherResource
+ .getContents().get(0);
if (name.equals(otherModule.getName())) {
return otherModule;
}
@@ -192,7 +195,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To register the packages in the list of the metamodels considered during the OCL parsing. The step
- * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the input model.
+ * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the input
+ * model.
*
* @param iTypedModel
* is the input object of type 'org.eclipse.acceleo.parser.cst.TypedModel'
@@ -210,7 +214,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To remove the packages in the list of the metamodels considered during the OCL parsing. The step
- * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the input model.
+ * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TypedModel' of the input
+ * model.
*
* @param iTypedModel
* is the input object of type 'org.eclipse.acceleo.parser.cst.TypedModel'
@@ -227,8 +232,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Template' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Template' of the
+ * input model.
*
* @param iTemplate
* is the input object of type 'org.eclipse.acceleo.parser.cst.Template'
@@ -237,7 +242,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
org.eclipse.acceleo.model.mtl.Template oTemplate = factory.getOrCreateTemplate(iTemplate);
if (iTemplate != null && oTemplate != null) {
List<EClassifier> paramTypes = new ArrayList<EClassifier>();
- Iterator<org.eclipse.acceleo.parser.cst.Variable> iParameterIt = iTemplate.getParameter().iterator();
+ Iterator<org.eclipse.acceleo.parser.cst.Variable> iParameterIt = iTemplate.getParameter()
+ .iterator();
org.eclipse.ocl.ecore.Variable oFirst = null;
while (iParameterIt.hasNext()) {
org.eclipse.acceleo.parser.cst.Variable iNext = iParameterIt.next();
@@ -253,8 +259,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
Iterator<TemplateOverridesValue> iOverridesIt = iTemplate.getOverrides().iterator();
while (iOverridesIt.hasNext()) {
TemplateOverridesValue ioNext = iOverridesIt.next();
- List<org.eclipse.acceleo.model.mtl.Template> oOverrides = getExtendedTemplatesNamed(getModule(oTemplate),
- ioNext.getName(), paramTypes);
+ List<org.eclipse.acceleo.model.mtl.Template> oOverrides = getExtendedTemplatesNamed(
+ getModule(oTemplate), ioNext.getName(), paramTypes);
if (oOverrides.size() == 0) {
log(
AcceleoCommonMessages.getString(
@@ -309,8 +315,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
* are the types of the parameters, the candidate must have the same parameters
* @return the templates, it is more often one template
*/
- private List<org.eclipse.acceleo.model.mtl.Template> getExtendedTemplatesNamed(org.eclipse.acceleo.model.mtl.Module oModule,
- String name, List<EClassifier> paramTypes) {
+ private List<org.eclipse.acceleo.model.mtl.Template> getExtendedTemplatesNamed(
+ org.eclipse.acceleo.model.mtl.Module oModule, String name, List<EClassifier> paramTypes) {
List<org.eclipse.acceleo.model.mtl.Template> result = new ArrayList<org.eclipse.acceleo.model.mtl.Template>();
result.addAll(getProtectedTemplatesNamed(oModule, name, paramTypes));
List<org.eclipse.acceleo.model.mtl.Module> allExtends = new ArrayList<org.eclipse.acceleo.model.mtl.Module>();
@@ -334,8 +340,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
* are the types of the parameters, the candidate must have the same parameters
* @return the templates, it is more often one template
*/
- private List<org.eclipse.acceleo.model.mtl.Template> getProtectedTemplatesNamed(org.eclipse.acceleo.model.mtl.Module oModule,
- String name, List<EClassifier> paramTypes) {
+ private List<org.eclipse.acceleo.model.mtl.Template> getProtectedTemplatesNamed(
+ org.eclipse.acceleo.model.mtl.Module oModule, String name, List<EClassifier> paramTypes) {
List<org.eclipse.acceleo.model.mtl.Template> result = new ArrayList<org.eclipse.acceleo.model.mtl.Template>();
Iterator<EObject> itObjects = oModule.eAllContents();
while (itObjects.hasNext()) {
@@ -378,7 +384,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
* @param oModule
* is the current module
*/
- private void computeAllExtends(List<org.eclipse.acceleo.model.mtl.Module> allExtends, org.eclipse.acceleo.model.mtl.Module oModule) {
+ private void computeAllExtends(List<org.eclipse.acceleo.model.mtl.Module> allExtends,
+ org.eclipse.acceleo.model.mtl.Module oModule) {
List<org.eclipse.acceleo.model.mtl.Module> toBrowse = new ArrayList<org.eclipse.acceleo.model.mtl.Module>();
Iterator<org.eclipse.acceleo.model.mtl.Module> itOtherModules = oModule.getExtends().iterator();
while (itOtherModules.hasNext()) {
@@ -397,7 +404,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To register the variable in the list of the variables considered during the OCL parsing. The step
- * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the input model.
+ * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the input
+ * model.
*
* @param iVariable
* is the input object of type 'org.eclipse.acceleo.parser.cst.Variable'
@@ -420,8 +428,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
isValid = Character.isJavaIdentifierPart(c);
}
if (!isValid) {
- log(IAcceleoParserProblemsConstants.SYNTAX_NAME_NOT_VALID + iVariable.getName(), iVariable
- .getStartPosition(), iVariable.getEndPosition());
+ log(IAcceleoParserProblemsConstants.SYNTAX_NAME_NOT_VALID + iVariable.getName(),
+ iVariable.getStartPosition(), iVariable.getEndPosition());
}
}
if (oVariable.getType() == null || oVariable.getType() == factory.getOCL().getInvalidType()) {
@@ -433,7 +441,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To remove the variable in the list of the variables considered during the OCL parsing. The step
- * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the input model.
+ * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Variable' of the input
+ * model.
*
* @param iVariable
* is the input object of type 'org.eclipse.acceleo.parser.cst.Variable'
@@ -446,8 +455,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.ModelExpression' of the
- * input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.ModelExpression'
+ * of the input model.
*
* @param iModelExpression
* is the input object of type 'org.eclipse.acceleo.parser.cst.ModelExpression'
@@ -477,8 +486,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
((TemplateInvocation)oOCLExpression).setBefore(oBefore);
transformStepResolve(iBefore);
} else {
- log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.BEFORE), iBefore
- .getStartPosition(), iBefore.getEndPosition());
+ log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.BEFORE),
+ iBefore.getStartPosition(), iBefore.getEndPosition());
}
}
org.eclipse.acceleo.parser.cst.ModelExpression iEach = iModelExpression.getEach();
@@ -488,8 +497,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
((TemplateInvocation)oOCLExpression).setEach(oEach);
transformStepResolve(iEach);
} else {
- log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.SEPARATOR), iEach
- .getStartPosition(), iEach.getEndPosition());
+ log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.SEPARATOR),
+ iEach.getStartPosition(), iEach.getEndPosition());
}
}
org.eclipse.acceleo.parser.cst.ModelExpression iAfter = iModelExpression.getAfter();
@@ -499,8 +508,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
((TemplateInvocation)oOCLExpression).setAfter(oAfter);
transformStepResolve(iAfter);
} else {
- log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.AFTER), iAfter
- .getStartPosition(), iAfter.getEndPosition());
+ log(AcceleoCommonMessages.getString(UNAVAILABLE_CLAUSE_KEY, IAcceleoConstants.AFTER),
+ iAfter.getStartPosition(), iAfter.getEndPosition());
}
}
}
@@ -516,7 +525,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
* is the output template invocation
*/
private void transformStepResolveSuperTemplateInvocation(
- org.eclipse.acceleo.parser.cst.ModelExpression iModelExpression, TemplateInvocation oTemplateInvocation) {
+ org.eclipse.acceleo.parser.cst.ModelExpression iModelExpression,
+ TemplateInvocation oTemplateInvocation) {
if (oTemplateInvocation.isSuper() && oTemplateInvocation.getDefinition() == null) {
org.eclipse.acceleo.model.mtl.Template oTemplate = getTemplate(oTemplateInvocation);
if (oTemplate != null && oTemplate.getOverrides().size() == 0) {
@@ -550,8 +560,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TextExpression' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TextExpression'
+ * of the input model.
*
* @param iTextExpression
* is the input object of type 'org.eclipse.acceleo.parser.cst.TextExpression'
@@ -560,7 +570,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Block' of the input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Block' of the
+ * input model.
*
* @param iBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.Block'
@@ -579,8 +590,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To register the variables of the init section in the list of the variables considered during the OCL
- * parsing. The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.InitSection' of the
- * input model.
+ * parsing. The step 'StepResolve' of the transformation for each
+ * 'org.eclipse.acceleo.parser.cst.InitSection' of the input model.
*
* @param iInitSection
* is the input object of type 'org.eclipse.acceleo.parser.cst.InitSection'
@@ -588,7 +599,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
private void transformStepResolveAddVariables(org.eclipse.acceleo.parser.cst.InitSection iInitSection) {
org.eclipse.acceleo.model.mtl.InitSection oInitSection = factory.getOrCreateInitSection(iInitSection);
if (iInitSection != null && oInitSection != null) {
- Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable().iterator();
+ Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable()
+ .iterator();
while (iVariableIt.hasNext()) {
org.eclipse.acceleo.parser.cst.Variable iNext = iVariableIt.next();
transformStepResolveAddVariable(iNext);
@@ -599,7 +611,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
/**
* To remove the variables in the list of the variables considered during the OCL parsing. The step
- * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.InitSection' of the input model.
+ * 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.InitSection' of the input
+ * model.
*
* @param iInitSection
* is the input object of type 'org.eclipse.acceleo.parser.cst.InitSection'
@@ -607,7 +620,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
private void transformStepResolveRemoveVariables(org.eclipse.acceleo.parser.cst.InitSection iInitSection) {
org.eclipse.acceleo.model.mtl.InitSection oInitSection = factory.getOrCreateInitSection(iInitSection);
if (iInitSection != null && oInitSection != null) {
- Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable().iterator();
+ Iterator<org.eclipse.acceleo.parser.cst.Variable> iVariableIt = iInitSection.getVariable()
+ .iterator();
while (iVariableIt.hasNext()) {
org.eclipse.acceleo.parser.cst.Variable iNext = iVariableIt.next();
transformStepResolveRemoveVariable(iNext);
@@ -617,8 +631,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock' of the
- * input model.
+ * The step 'StepResolve' of the transformation for each
+ * 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock' of the input model.
*
* @param iProtectedAreaBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.ProtectedAreaBlock'
@@ -644,8 +658,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.ForBlock' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.ForBlock' of the
+ * input model.
*
* @param iForBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.ForBlock'
@@ -716,7 +730,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.IfBlock' of the input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.IfBlock' of the
+ * input model.
*
* @param iIfBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.IfBlock'
@@ -769,8 +784,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.LetBlock' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.LetBlock' of the
+ * input model.
*
* @param iLetBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.LetBlock'
@@ -834,8 +849,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.FileBlock' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.FileBlock' of the
+ * input model.
*
* @param iFileBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.FileBlock'
@@ -867,8 +882,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TraceBlock' of the input
- * model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.TraceBlock' of
+ * the input model.
*
* @param iTraceBlock
* is the input object of type 'org.eclipse.acceleo.parser.cst.TraceBlock'
@@ -894,7 +909,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Macro' of the input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Macro' of the
+ * input model.
*
* @param iMacro
* is the input object of type 'org.eclipse.acceleo.parser.cst.Macro'
@@ -941,7 +957,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
}
/**
- * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Query' of the input model.
+ * The step 'StepResolve' of the transformation for each 'org.eclipse.acceleo.parser.cst.Query' of the
+ * input model.
*
* @param iQuery
* is the input object of type 'org.eclipse.acceleo.parser.cst.Query'
@@ -1024,7 +1041,8 @@ public class CST2ASTConverterWithResolver extends CST2ASTConverter {
* @param oBlock
* is the output block
*/
- private void transformStepResolveBody(org.eclipse.acceleo.parser.cst.Block iBlock, org.eclipse.acceleo.model.mtl.Block oBlock) {
+ private void transformStepResolveBody(org.eclipse.acceleo.parser.cst.Block iBlock,
+ org.eclipse.acceleo.model.mtl.Block oBlock) {
if (!isCanceled) {
Iterator<org.eclipse.acceleo.parser.cst.TemplateExpression> iBodyIt = iBlock.getBody().iterator();
while (iBodyIt.hasNext()) {
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/OCLParser.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/OCLParser.java
index afdbb1e..42723a2 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/OCLParser.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/OCLParser.java
@@ -181,7 +181,8 @@ public class OCLParser {
}
/**
- * Resolves the type of the variable using the current OCL environment, and the "Acceleo.type" EAnnotation.
+ * Resolves the type of the variable using the current OCL environment, and the "Acceleo.type"
+ * EAnnotation.
*
* @param newVariable
* We have to resolve the type of this variable.
@@ -211,8 +212,8 @@ public class OCLParser {
public EClassifier addRecursivelyVariablesToScopeAndGetContextClassifierAt(
org.eclipse.acceleo.model.mtl.Module oModule, int offset) {
Variable eContext = null;
- Iterator<org.eclipse.acceleo.model.mtl.ModuleElement> ownedModuleElementIt = oModule.getOwnedModuleElement()
- .iterator();
+ Iterator<org.eclipse.acceleo.model.mtl.ModuleElement> ownedModuleElementIt = oModule
+ .getOwnedModuleElement().iterator();
while (ownedModuleElementIt.hasNext()) {
org.eclipse.acceleo.model.mtl.ModuleElement oModuleElement = ownedModuleElementIt.next();
if (offset > oModuleElement.getStartPosition() && offset < oModuleElement.getEndPosition()) {
@@ -236,7 +237,8 @@ public class OCLParser {
addVariablesToScope(oMacro.getParameter());
}
if (oModuleElement instanceof org.eclipse.acceleo.model.mtl.Block) {
- Variable oContext = addVariablesToScope((org.eclipse.acceleo.model.mtl.Block)oModuleElement, offset);
+ Variable oContext = addVariablesToScope(
+ (org.eclipse.acceleo.model.mtl.Block)oModuleElement, offset);
if (oContext != null) {
eContext = oContext;
}
@@ -294,7 +296,8 @@ public class OCLParser {
while (eContentsIt.hasNext()) {
EObject eContent = eContentsIt.next();
if (eContent instanceof org.eclipse.acceleo.model.mtl.Block) {
- Variable oContext = addVariablesToScope((org.eclipse.acceleo.model.mtl.Block)eContent, offset);
+ Variable oContext = addVariablesToScope((org.eclipse.acceleo.model.mtl.Block)eContent,
+ offset);
if (oContext != null) {
eContext = oContext;
break;
@@ -358,7 +361,8 @@ public class OCLParser {
* @param oModule
* is the current module
*/
- private void computeAllExtends(List<org.eclipse.acceleo.model.mtl.Module> allExtends, org.eclipse.acceleo.model.mtl.Module oModule) {
+ private void computeAllExtends(List<org.eclipse.acceleo.model.mtl.Module> allExtends,
+ org.eclipse.acceleo.model.mtl.Module oModule) {
List<org.eclipse.acceleo.model.mtl.Module> toBrowse = new ArrayList<org.eclipse.acceleo.model.mtl.Module>();
Iterator<org.eclipse.acceleo.model.mtl.Module> itOtherModules = oModule.getExtends().iterator();
while (itOtherModules.hasNext()) {
@@ -857,8 +861,8 @@ public class OCLParser {
if (eCall.getSource() != null) {
if (eCall.getSource() instanceof VariableExp
&& ((VariableExp)eCall.getSource()).getReferredVariable() != null) {
- result = !IAcceleoConstants.SELF.equals(((VariableExp)eCall.getSource()).getReferredVariable()
- .getName());
+ result = !IAcceleoConstants.SELF.equals(((VariableExp)eCall.getSource())
+ .getReferredVariable().getName());
} else {
result = true;
}
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/environment/AcceleoEnvironment.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/environment/AcceleoEnvironment.java
index 21d0d75..6b2d76f 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/environment/AcceleoEnvironment.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/ast/ocl/environment/AcceleoEnvironment.java
@@ -62,8 +62,8 @@ public class AcceleoEnvironment extends EcoreEnvironment {
.getExistingOperations(getOCLStandardLibrary().getString()));
addHelperOperations(getOCLStandardLibrary().getInteger(), getAcceleoStandardLibrary()
.getExistingOperations(getOCLStandardLibrary().getInteger()));
- addHelperOperations(getOCLStandardLibrary().getReal(), getAcceleoStandardLibrary().getExistingOperations(
- getOCLStandardLibrary().getReal()));
+ addHelperOperations(getOCLStandardLibrary().getReal(), getAcceleoStandardLibrary()
+ .getExistingOperations(getOCLStandardLibrary().getReal()));
// TODO we should provide a way to desactivate non-standard library
// Add non-standard Acceleo operations
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParser.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParser.java
index 27557a3..9429025 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParser.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParser.java
@@ -47,8 +47,8 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
/**
- * The main class of the CST creator. Creates a CST model from a Acceleo file. You just have to launch the 'parse'
- * method...
+ * The main class of the CST creator. Creates a CST model from a Acceleo file. You just have to launch the
+ * 'parse' method...
*
* @author <a href="mailto:jonathan.musset@obeo.fr">Jonathan Musset</a>
*/
@@ -148,7 +148,8 @@ public class CSTParser {
Sequence literalEscape = new Sequence(IAcceleoConstants.LITERAL_ESCAPE);
pLiteral = new SequenceBlock(new Sequence(IAcceleoConstants.LITERAL_BEGIN), new Sequence(
IAcceleoConstants.LITERAL_END), literalEscape, false, null);
- pComment = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.COMMENT, false, null, null);
+ pComment = ParserUtils
+ .createAcceleoSequenceBlock(false, IAcceleoConstants.COMMENT, false, null, null);
pParenthesis = new SequenceBlock(new Sequence(IAcceleoConstants.PARENTHESIS_BEGIN), new Sequence(
IAcceleoConstants.PARENTHESIS_END), null, true, new SequenceBlock[] {pLiteral});
pBrackets = new SequenceBlock(new Sequence(IAcceleoConstants.BRACKETS_BEGIN), new Sequence(
@@ -163,10 +164,10 @@ public class CSTParser {
new SequenceBlock[] {pLiteral}, null);
pTemplate = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.TEMPLATE, false,
new SequenceBlock[] {pLiteral, pParenthesis}, new SequenceBlock[] {pComment});
- pMacro = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.MACRO, true, new SequenceBlock[] {
- pLiteral, pParenthesis,}, new SequenceBlock[] {pComment});
- pQuery = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.QUERY, false, new SequenceBlock[] {
- pLiteral, pParenthesis,}, new SequenceBlock[] {pComment});
+ pMacro = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.MACRO, true,
+ new SequenceBlock[] {pLiteral, pParenthesis,}, new SequenceBlock[] {pComment});
+ pQuery = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.QUERY, false,
+ new SequenceBlock[] {pLiteral, pParenthesis,}, new SequenceBlock[] {pComment});
pBlock = new CSTParserBlock(this);
}
@@ -261,7 +262,8 @@ public class CSTParser {
String name = source.getBuffer().substring(posBegin, posEnd).trim();
eModule.setName(name);
if (source.getFile() != null && !checkModuleDefinition(name, source.getFile())) {
- log(AcceleoParserMessages.getString("CSTParser.InvalidModuleDefinition", name), posBegin, posEnd); //$NON-NLS-1$
+ log(
+ AcceleoParserMessages.getString("CSTParser.InvalidModuleDefinition", name), posBegin, posEnd); //$NON-NLS-1$
}
} else {
Region eH = pParenthesis.searchEndHeaderAtBeginHeader(source.getBuffer(), bH, posEnd);
@@ -277,7 +279,8 @@ public class CSTParser {
String name = source.getBuffer().substring(posBegin, bH.b()).trim();
eModule.setName(name);
if (source.getFile() != null && !checkModuleDefinition(name, source.getFile())) {
- log(AcceleoParserMessages.getString("CSTParser.InvalidModuleDefinition", name), posBegin, bH.b()); //$NON-NLS-1$
+ log(
+ AcceleoParserMessages.getString("CSTParser.InvalidModuleDefinition", name), posBegin, bH.b()); //$NON-NLS-1$
}
}
}
@@ -370,8 +373,8 @@ public class CSTParser {
* @return the ending index of the clause, or the beginning index if it doesn't exist
*/
private int parseModuleHeaderExtends(int posBegin, int posEnd, Module eModule) {
- int bExtend = ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd, IAcceleoConstants.EXTENDS,
- true);
+ int bExtend = ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd,
+ IAcceleoConstants.EXTENDS, true);
if (bExtend != posBegin) {
while (bExtend != posEnd) {
Region comma = pComma.search(source.getBuffer(), bExtend, posEnd, null,
@@ -473,8 +476,8 @@ public class CSTParser {
int posBegin;
Region eH = pComment.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.COMMENT), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.COMMENT), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pComment.getEndHeaderBody()) {
@@ -486,8 +489,8 @@ public class CSTParser {
} else {
Region eB = pComment.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.COMMENT), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.COMMENT), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
Comment eComment = CstFactory.eINSTANCE.createComment();
@@ -516,8 +519,8 @@ public class CSTParser {
int posBegin;
Region eH = pImport.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.IMPORT), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.IMPORT), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
ModuleImportsValue eModuleImportsValue = CstFactory.eINSTANCE.createModuleImportsValue();
@@ -544,8 +547,8 @@ public class CSTParser {
int posBegin;
Region eH = pTemplate.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.TEMPLATE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.TEMPLATE), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pTemplate.getEndHeaderBody()) {
@@ -557,8 +560,8 @@ public class CSTParser {
} else {
Region eB = pTemplate.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.TEMPLATE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.TEMPLATE),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -588,8 +591,8 @@ public class CSTParser {
int posBegin;
Region eH = pMacro.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.MACRO), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.MACRO), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pMacro.getEndHeaderBody()) {
@@ -601,8 +604,8 @@ public class CSTParser {
} else {
Region eB = pMacro.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.MACRO), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT, IAcceleoConstants.MACRO), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -632,8 +635,8 @@ public class CSTParser {
int posBegin;
Region eH = pQuery.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.QUERY), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_STMT_HEADER, IAcceleoConstants.QUERY), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pQuery.getEndHeaderBody()) {
@@ -789,8 +792,8 @@ public class CSTParser {
*/
private int parseTemplateHeaderGuard(int posBegin, int posEnd, int headerPosEnd, Template eTemplate) {
int currentPos = posBegin;
- int bGuard = ParserUtils.shiftKeyword(source.getBuffer(), currentPos, posEnd, IAcceleoConstants.GUARD,
- false);
+ int bGuard = ParserUtils.shiftKeyword(source.getBuffer(), currentPos, posEnd,
+ IAcceleoConstants.GUARD, false);
if (bGuard != currentPos) {
currentPos = bGuard;
if (ParserUtils.shiftKeyword(source.getBuffer(), currentPos, posEnd,
@@ -879,9 +882,8 @@ public class CSTParser {
boolean semicolonFound = shiftInitSectionBodyCreatesVariables(bHBrackets.e(), eHBrackets.b(),
eInitSection);
if (!semicolonFound) {
- log(
- AcceleoParserMessages.getString(MISSING_CHARACTER_KEY,
- IAcceleoConstants.SEMICOLON_SEPARATOR), bHBrackets.e(), eHBrackets.b());
+ log(AcceleoParserMessages.getString(MISSING_CHARACTER_KEY,
+ IAcceleoConstants.SEMICOLON_SEPARATOR), bHBrackets.e(), eHBrackets.b());
}
posResult = eHBrackets.e();
}
@@ -963,7 +965,8 @@ public class CSTParser {
Variable eVariable;
int bDot = variableBuffer.indexOf(IAcceleoConstants.VARIABLE_DECLARATION_SEPARATOR);
if (bDot == -1) {
- log(AcceleoParserMessages.getString("CSTParser.InvalidVariable", variableBuffer.trim()), posBegin, //$NON-NLS-1$
+ log(
+ AcceleoParserMessages.getString("CSTParser.InvalidVariable", variableBuffer.trim()), posBegin, //$NON-NLS-1$
posEnd);
eVariable = null;
} else {
@@ -975,8 +978,8 @@ public class CSTParser {
int bInit = variableBuffer.indexOf(IAcceleoConstants.VARIABLE_INIT_SEPARATOR, bDot
+ IAcceleoConstants.VARIABLE_DECLARATION_SEPARATOR.length());
if (bInit != -1) {
- type = variableBuffer.substring(bDot + IAcceleoConstants.VARIABLE_DECLARATION_SEPARATOR.length(),
- bInit);
+ type = variableBuffer.substring(bDot
+ + IAcceleoConstants.VARIABLE_DECLARATION_SEPARATOR.length(), bInit);
String initExpression = variableBuffer.substring(bInit
+ IAcceleoConstants.VARIABLE_INIT_SEPARATOR.length());
ModelExpression eInitExpression = CstFactory.eINSTANCE.createModelExpression();
@@ -1073,8 +1076,8 @@ public class CSTParser {
String initExpression = bodyText.substring(bInit
+ IAcceleoConstants.VARIABLE_INIT_SEPARATOR.length());
ModelExpression eExpression = CstFactory.eINSTANCE.createModelExpression();
- setPositions(eExpression, eDot + bInit + IAcceleoConstants.VARIABLE_INIT_SEPARATOR.length(),
- posEnd);
+ setPositions(eExpression, eDot + bInit
+ + IAcceleoConstants.VARIABLE_INIT_SEPARATOR.length(), posEnd);
eQuery.setExpression(eExpression);
eExpression.setBody(initExpression);
pBlock.parseExpressionHeader(eDot + bInit
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParserBlock.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParserBlock.java
index dd26b46..7aaa310 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParserBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/CSTParserBlock.java
@@ -122,29 +122,33 @@ public class CSTParserBlock {
new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
pFile = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.FILE, true,
new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
- pFor = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.FOR, true, new SequenceBlock[] {
- pAcceleo.pLiteral, pAcceleo.pParenthesis,}, new SequenceBlock[] {pAcceleo.pComment,});
+ pFor = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.FOR, true,
+ new SequenceBlock[] {pAcceleo.pLiteral, pAcceleo.pParenthesis,},
+ new SequenceBlock[] {pAcceleo.pComment,});
pIf = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.IF, true,
new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
Sequence pElseIfBeginHeader = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.ELSE_IF);
Sequence pElseIfEndHeader = new Sequence(IAcceleoConstants.DEFAULT_END);
pElseIf = new SequenceBlock(pElseIfBeginHeader, pElseIfEndHeader, null, false,
new SequenceBlock[] {pAcceleo.pLiteral});
- pElse = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.ELSE, IAcceleoConstants.DEFAULT_END);
+ pElse = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.ELSE,
+ IAcceleoConstants.DEFAULT_END);
pLet = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.LET, true,
new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
- Sequence pElseLetBeginHeader = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.ELSE_LET);
+ Sequence pElseLetBeginHeader = new Sequence(IAcceleoConstants.DEFAULT_BEGIN,
+ IAcceleoConstants.ELSE_LET);
Sequence pElseLetEndHeader = new Sequence(IAcceleoConstants.DEFAULT_END);
pElseLet = new SequenceBlock(pElseLetBeginHeader, pElseLetEndHeader, null, false,
new SequenceBlock[] {pAcceleo.pLiteral});
- pProtectedArea = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.PROTECTED_AREA, false,
- new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
+ pProtectedArea = ParserUtils.createAcceleoSequenceBlock(false, IAcceleoConstants.PROTECTED_AREA,
+ false, new SequenceBlock[] {pAcceleo.pLiteral}, new SequenceBlock[] {pAcceleo.pComment});
Sequence pBegin = new Sequence(IAcceleoConstants.DEFAULT_BEGIN);
Sequence pEnd = new Sequence(IAcceleoConstants.DEFAULT_END);
SequenceBlock pBeginEnd = new SequenceBlock(pBegin, pEnd, null, true,
new SequenceBlock[] {pAcceleo.pLiteral});
pExpression = new SequenceBlock(new Sequence(IAcceleoConstants.INVOCATION_BEGIN), new Sequence(
- IAcceleoConstants.INVOCATION_END), null, false, new SequenceBlock[] {pAcceleo.pLiteral, pBeginEnd});
+ IAcceleoConstants.INVOCATION_END), null, false, new SequenceBlock[] {pAcceleo.pLiteral,
+ pBeginEnd,});
}
/**
@@ -173,8 +177,8 @@ public class CSTParserBlock {
* will be the parent of the new block to create
*/
public void parse(int posBegin, int posEnd, Block eBlock) {
- SequenceBlock[] pBlockElements = new SequenceBlock[] {pAcceleo.pComment, pFile, pFor, pIf, pLet, pTrace,
- pProtectedArea, pExpression,};
+ SequenceBlock[] pBlockElements = new SequenceBlock[] {pAcceleo.pComment, pFile, pFor, pIf, pLet,
+ pTrace, pProtectedArea, pExpression,};
int currentPosBegin = posBegin;
Region[] positions = Region.createPositions(pBlockElements.length);
while (currentPosBegin > -1 && currentPosBegin < posEnd) {
@@ -225,8 +229,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pAcceleo.pComment.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.COMMENT), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.COMMENT), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pAcceleo.pComment.getEndHeaderBody()) {
@@ -238,8 +242,8 @@ public class CSTParserBlock {
} else {
Region eB = pAcceleo.pComment.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.COMMENT), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.COMMENT),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
Comment eComment = CstFactory.eINSTANCE.createComment();
@@ -268,8 +272,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pFile.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.FILE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.FILE), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pFile.getEndHeaderBody()) {
@@ -281,8 +285,8 @@ public class CSTParserBlock {
} else {
Region eB = pFile.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.FILE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.FILE), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -309,8 +313,8 @@ public class CSTParserBlock {
* is the current object of the CST model, it will be modified in this method
*/
public void parseFileHeader(int posBegin, int posEnd, FileBlock eFile) {
- if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd, IAcceleoConstants.PARENTHESIS_BEGIN,
- false) == posBegin) {
+ if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd,
+ IAcceleoConstants.PARENTHESIS_BEGIN, false) == posBegin) {
log(IAcceleoParserProblemsConstants.SYNTAX_PARENTHESIS_ARE_REQUIRED, posBegin, posEnd);
} else {
Region bH = pAcceleo.pParenthesis.searchBeginHeader(source.getBuffer(), posBegin, posEnd);
@@ -374,14 +378,14 @@ public class CSTParserBlock {
eFile.setUniqId(eUniqueId);
parseExpressionHeader(b, eH.b(), eUniqueId);
} else if (source.getBuffer().substring(b, eH.b()).trim().length() > 0) {
- log(
- AcceleoParserMessages.getString(
- "Parser.MissingCharacter", IAcceleoConstants.COMMA_SEPARATOR), b, eH.b()); //$NON-NLS-1$
+ log(AcceleoParserMessages.getString(
+ "Parser.MissingCharacter", IAcceleoConstants.COMMA_SEPARATOR), b, eH.b()); //$NON-NLS-1$
}
}
} else {
log(
- AcceleoParserMessages.getString("Parser.MissingCharacter", IAcceleoConstants.COMMA_SEPARATOR), eH.b(), eH.b()); //$NON-NLS-1$
+ AcceleoParserMessages.getString(
+ "Parser.MissingCharacter", IAcceleoConstants.COMMA_SEPARATOR), eH.b(), eH.b()); //$NON-NLS-1$
}
}
@@ -415,8 +419,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pFor.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.FOR), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.FOR),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pFor.getEndHeaderBody()) {
@@ -428,8 +432,8 @@ public class CSTParserBlock {
} else {
Region eB = pFor.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.FOR), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.FOR), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -456,8 +460,8 @@ public class CSTParserBlock {
* is the current object of the CST model, it will be modified in this method
*/
public void parseForHeader(int posBegin, int posEnd, ForBlock eFor) {
- if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd, IAcceleoConstants.PARENTHESIS_BEGIN,
- false) == posBegin) {
+ if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd,
+ IAcceleoConstants.PARENTHESIS_BEGIN, false) == posBegin) {
log(IAcceleoParserProblemsConstants.SYNTAX_PARENTHESIS_ARE_REQUIRED, posBegin, posEnd);
} else {
Region bH = pAcceleo.pParenthesis.searchBeginHeader(source.getBuffer(), posBegin, posEnd);
@@ -479,14 +483,14 @@ public class CSTParserBlock {
eFor.setIterSet(eIterSet);
parseExpressionHeader(b, e, eIterSet);
int currentPosBegin = eH.e();
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.BEFORE,
- true, eFor, CstPackage.eINSTANCE.getForBlock_Before());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd,
+ IAcceleoConstants.BEFORE, true, eFor, CstPackage.eINSTANCE.getForBlock_Before());
currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd,
IAcceleoConstants.SEPARATOR, true, eFor, CstPackage.eINSTANCE.getForBlock_Each());
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.AFTER,
- true, eFor, CstPackage.eINSTANCE.getForBlock_After());
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.GUARD,
- false, eFor, CstPackage.eINSTANCE.getForBlock_Guard());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd,
+ IAcceleoConstants.AFTER, true, eFor, CstPackage.eINSTANCE.getForBlock_After());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd,
+ IAcceleoConstants.GUARD, false, eFor, CstPackage.eINSTANCE.getForBlock_Guard());
currentPosBegin = pAcceleo.shiftInitSectionBody(currentPosBegin, posEnd, eFor);
if (source.getBuffer().substring(currentPosBegin, posEnd).trim().length() > 0) {
log(IAcceleoParserProblemsConstants.SYNTAX_TEXT_NOT_VALID, currentPosBegin, posEnd);
@@ -529,8 +533,8 @@ public class CSTParserBlock {
log(IAcceleoParserProblemsConstants.SYNTAX_PARENTHESIS_ARE_REQUIRED, currentPos, posEnd);
currentPos = posEnd;
} else {
- Region bHParenthesis = pAcceleo.pParenthesis.searchBeginHeader(source.getBuffer(), currentPos,
- posEnd);
+ Region bHParenthesis = pAcceleo.pParenthesis.searchBeginHeader(source.getBuffer(),
+ currentPos, posEnd);
Region eHParenthesis = pAcceleo.pParenthesis.searchEndHeaderAtBeginHeader(source.getBuffer(),
bHParenthesis, posEnd);
if (eHParenthesis.b() == -1) {
@@ -591,8 +595,8 @@ public class CSTParserBlock {
} else {
Region eB = pIf.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.IF), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.IF),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -702,8 +706,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pLet.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.LET), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.LET),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pLet.getEndHeaderBody()) {
@@ -715,8 +719,8 @@ public class CSTParserBlock {
} else {
Region eB = pLet.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.LET), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.LET), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -826,8 +830,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pTrace.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.TRACE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.TRACE), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pTrace.getEndHeaderBody()) {
@@ -839,8 +843,8 @@ public class CSTParserBlock {
} else {
Region eB = pTrace.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.TRACE), beginHeader.b(),
- beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.TRACE), beginHeader
+ .b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -903,8 +907,8 @@ public class CSTParserBlock {
int posBegin;
Region eH = pProtectedArea.searchEndHeaderAtBeginHeader(source.getBuffer(), beginHeader, posEnd);
if (eH.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.PROTECTED_AREA), beginHeader
- .b(), beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK_HEADER, IAcceleoConstants.PROTECTED_AREA),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
if (eH.getSequence() == pProtectedArea.getEndHeaderBody()) {
@@ -916,8 +920,8 @@ public class CSTParserBlock {
} else {
Region eB = pProtectedArea.searchEndBodyAtEndHeader(source.getBuffer(), eH, posEnd);
if (eB.b() == -1) {
- log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.PROTECTED_AREA), beginHeader
- .b(), beginHeader.e());
+ log(AcceleoParserMessages.getString(INVALID_BLOCK, IAcceleoConstants.PROTECTED_AREA),
+ beginHeader.b(), beginHeader.e());
posBegin = -1;
} else {
posBegin = eB.e();
@@ -944,8 +948,8 @@ public class CSTParserBlock {
* is the current object of the CST model, it will be modified in this method
*/
public void parseProtectedAreaHeader(int posBegin, int posEnd, ProtectedAreaBlock eProtectedArea) {
- if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd, IAcceleoConstants.PARENTHESIS_BEGIN,
- false) == posBegin) {
+ if (ParserUtils.shiftKeyword(source.getBuffer(), posBegin, posEnd,
+ IAcceleoConstants.PARENTHESIS_BEGIN, false) == posBegin) {
log(IAcceleoParserProblemsConstants.SYNTAX_PARENTHESIS_ARE_REQUIRED, posBegin, posEnd);
} else {
Region bH = pAcceleo.pParenthesis.searchBeginHeader(source.getBuffer(), posBegin, posEnd);
@@ -1037,12 +1041,13 @@ public class CSTParserBlock {
eModelExpression.setBody(source.getBuffer().substring(posBegin, bBeforeEachAfter).trim());
if (bBeforeEachAfter < posEnd) {
int currentPosBegin = bBeforeEachAfter;
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.BEFORE, true,
- eModelExpression, CstPackage.eINSTANCE.getModelExpression_Before());
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.SEPARATOR,
- true, eModelExpression, CstPackage.eINSTANCE.getModelExpression_Each());
- currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.AFTER, true,
- eModelExpression, CstPackage.eINSTANCE.getModelExpression_After());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.BEFORE,
+ true, eModelExpression, CstPackage.eINSTANCE.getModelExpression_Before());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd,
+ IAcceleoConstants.SEPARATOR, true, eModelExpression, CstPackage.eINSTANCE
+ .getModelExpression_Each());
+ currentPosBegin = shiftPrefixedOCLExpression(currentPosBegin, posEnd, IAcceleoConstants.AFTER,
+ true, eModelExpression, CstPackage.eINSTANCE.getModelExpression_After());
if (source.getBuffer().substring(currentPosBegin, posEnd).trim().length() > 0) {
log(IAcceleoParserProblemsConstants.SYNTAX_TEXT_NOT_VALID, currentPosBegin, posEnd);
}
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/ParserUtils.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/ParserUtils.java
index 3e38783..233b0f4 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/ParserUtils.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/ParserUtils.java
@@ -27,8 +27,8 @@ public final class ParserUtils {
}
/**
- * Creates a Acceleo block analyzer. It uses the Acceleo delimiters '[' and ']'. <li>header only : [name ...
- * header ... /]</li> <li>header + body : [name ... header ... ] ... body ... [/name]</li>
+ * Creates a Acceleo block analyzer. It uses the Acceleo delimiters '[' and ']'. <li>header only : [name
+ * ... header ... /]</li> <li>header + body : [name ... header ... ] ... body ... [/name]</li>
*
* @param headerOnly
* indicates if it parses the header only, the body is ignored
@@ -46,13 +46,14 @@ public final class ParserUtils {
boolean recursiveBody, SequenceBlock[] inhibsHeader, SequenceBlock[] inhibsBody) {
Sequence beginHeader = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, name);
Sequence endHeaderOnly = new Sequence(IAcceleoConstants.DEFAULT_END);
- Sequence endHeaderBody = new Sequence(IAcceleoConstants.DEFAULT_END_BODY_CHAR, IAcceleoConstants.DEFAULT_END);
+ Sequence endHeaderBody = new Sequence(IAcceleoConstants.DEFAULT_END_BODY_CHAR,
+ IAcceleoConstants.DEFAULT_END);
Sequence endBody;
if (headerOnly) {
endBody = null;
} else {
- endBody = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.DEFAULT_END_BODY_CHAR, name,
- IAcceleoConstants.DEFAULT_END);
+ endBody = new Sequence(IAcceleoConstants.DEFAULT_BEGIN, IAcceleoConstants.DEFAULT_END_BODY_CHAR,
+ name, IAcceleoConstants.DEFAULT_END);
}
return new SequenceBlock(beginHeader, endHeaderOnly, endHeaderBody, inhibsHeader, endBody, null,
inhibsBody);
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/Sequence.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/Sequence.java
index 19a663b..2a68ff7 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/Sequence.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/Sequence.java
@@ -214,7 +214,8 @@ public class Sequence implements ISequence {
* {@inheritDoc}
*
* @see org.eclipse.acceleo.parser.cst.utils.ISequence#search(java.lang.StringBuffer, int, int,
- * org.eclipse.acceleo.parser.cst.utils.Sequence, org.eclipse.acceleo.parser.cst.utils.SequenceBlock[])
+ * org.eclipse.acceleo.parser.cst.utils.Sequence,
+ * org.eclipse.acceleo.parser.cst.utils.SequenceBlock[])
*/
public Region search(final StringBuffer buffer, int posBegin, int posEnd, Sequence spec,
SequenceBlock[] inhibs) {
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/SequenceBlock.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/SequenceBlock.java
index 20d7588..f5d0bc2 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/SequenceBlock.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/internal/parser/cst/utils/SequenceBlock.java
@@ -165,7 +165,8 @@ public class SequenceBlock implements ISequence {
* {@inheritDoc}
*
* @see org.eclipse.acceleo.parser.cst.utils.ISequence#search(java.lang.StringBuffer, int, int,
- * org.eclipse.acceleo.parser.cst.utils.Sequence, org.eclipse.acceleo.parser.cst.utils.SequenceBlock[])
+ * org.eclipse.acceleo.parser.cst.utils.Sequence,
+ * org.eclipse.acceleo.parser.cst.utils.SequenceBlock[])
*/
public Region search(StringBuffer buffer, int posBegin, int posEnd, Sequence spec, SequenceBlock[] inhibs) {
if (beginHeader == null) {
diff --git a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/parser/AcceleoParser.java b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/parser/AcceleoParser.java
index e390308..058b484 100644
--- a/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/parser/AcceleoParser.java
+++ b/plugins/org.eclipse.acceleo.parser/src/org/eclipse/acceleo/parser/AcceleoParser.java
@@ -28,8 +28,8 @@ import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
import org.eclipse.emf.ecore.xmi.XMLResource;
/**
- * The main class of the Acceleo Parser. Creates an AST from a list of Acceleo files, using a CST step. You just have
- * to launch the 'parse' method...
+ * The main class of the Acceleo Parser. Creates an AST from a list of Acceleo files, using a CST step. You
+ * just have to launch the 'parse' method...
*
* @author <a href="mailto:jonathan.musset@obeo.fr">Jonathan Musset</a>
*/