Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/dsl
diff options
context:
space:
mode:
authorLorenzo Bettini2013-11-24 10:20:44 +0000
committerLorenzo Bettini2013-11-24 10:20:44 +0000
commitac416597c76b11451938d2236d3f17ac998a3752 (patch)
treed913afd62e73f5de42be76b02d929c75ecb53ec0 /dsl
parent4e47c10fd25f1b146eb93c4b075ded37ffde8f1c (diff)
downloadorg.eclipse.emf-parsley-ac416597c76b11451938d2236d3f17ac998a3752.tar.gz
org.eclipse.emf-parsley-ac416597c76b11451938d2236d3f17ac998a3752.tar.xz
org.eclipse.emf-parsley-ac416597c76b11451938d2236d3f17ac998a3752.zip
copy .xtext files to the bin folder during the build
This allows the mwe2 workflows to correctly generate all the artifacts in the src-gen folder
Diffstat (limited to 'dsl')
-rw-r--r--dsl/org.eclipse.emf.parsley.dsl/bin/org/eclipse/emf/parsley/dsl/EmfParsleyDsl.xtext208
1 files changed, 0 insertions, 208 deletions
diff --git a/dsl/org.eclipse.emf.parsley.dsl/bin/org/eclipse/emf/parsley/dsl/EmfParsleyDsl.xtext b/dsl/org.eclipse.emf.parsley.dsl/bin/org/eclipse/emf/parsley/dsl/EmfParsleyDsl.xtext
deleted file mode 100644
index 5d47dc617..000000000
--- a/dsl/org.eclipse.emf.parsley.dsl/bin/org/eclipse/emf/parsley/dsl/EmfParsleyDsl.xtext
+++ /dev/null
@@ -1,208 +0,0 @@
-grammar org.eclipse.emf.parsley.dsl.EmfParsleyDsl with
- org.eclipse.xtext.xbase.Xbase
-
-import "http://www.eclipse.org/xtext/common/JavaVMTypes" as types
-
-generate model "http://www.eclipse.org/emf/parsley/dsl/EmfParsleyDsl"
-
-Model:
- importSection=XImportSection?
- module = Module;
-
-Module:
- 'module' name=QualifiedName (extendsClause=ExtendsClause)? '{'
- (
- (labelProvider = LabelProvider)?
- &
- (featureCaptionProvider = FeatureCaptionProvider)?
- &
- (formFeatureCaptionProvider = FormFeatureCaptionProvider)?
- &
- (dialogFeatureCaptionProvider = DialogFeatureCaptionProvider)?
- &
- (featuresProvider = FeaturesProvider)?
- &
- (formControlFactory = FormControlFactory)?
- &
- (dialogControlFactory = DialogControlFactory)?
- &
- (proposalCreator = ProposalCreator)?
- &
- (viewerContentProvider = ViewerContentProvider)?
- &
- (partsSpecifications = PartsSpecifications)?
- )
- '}'
-;
-
-ExtendsClause: 'extends' superType=JvmTypeReference;
-
-LabelProvider:
- {LabelProvider} 'labelProvider' '{'
- ((
- 'text' '{'
- labelSpecifications+=LabelSpecification*
- '}'
- )?
- &
- (
- 'image' '{'
- imageSpecifications+=LabelSpecification*
- '}'
- )?)
- '}'
-;
-
-LabelSpecification:
- parameterType=JvmTypeReference (name=ValidID)?
- '->'
- expression = XExpression
-;
-
-FeatureCaptionProvider:
- {FeatureCaptionProvider} 'featureCaptionProvider' '{'
- ((
- 'text' '{'
- specifications+=FeatureCaptionSpecification*
- '}'
- )?)
- '}'
-;
-
-FormFeatureCaptionProvider:
- {FormFeatureCaptionProvider} 'formFeatureCaptionProvider' '{'
- ((
- 'text' '{'
- specifications+=FeatureCaptionSpecification*
- '}'
- )?
- &
- (
- 'label' '{'
- labelSpecifications+=FeatureCaptionSpecification*
- '}'
- )?)
- '}'
-;
-
-DialogFeatureCaptionProvider:
- {DialogFeatureCaptionProvider} 'dialogFeatureCaptionProvider' '{'
- ((
- 'text' '{'
- specifications+=FeatureCaptionSpecification*
- '}'
- )?
- &
- (
- 'label' '{'
- labelSpecifications+=FeatureCaptionSpecification*
- '}'
- )?)
- '}'
-;
-
-FeatureCaptionSpecification:
- parameterType=JvmTypeReference ':' feature=[types::JvmMember]
- '->'
- expression = XExpression
-;
-
-FeaturesProvider:
- {FeaturesProvider} 'featuresProvider' '{'
- ((
- 'features' '{'
- featureSpecifications+=FeatureSpecification*
- '}'
- )?)
- '}'
-;
-
-FeatureSpecification:
- parameterType=JvmTypeReference
- '->'
- features += [types::JvmMember] (',' features += [types::JvmMember])*
-;
-
-FormControlFactory:
- {FormControlFactory} 'formControlFactory' '{'
- (
- 'control' '{'
- controlSpecifications+=ControlFactorySpecification*
- '}'
- )?
- '}'
-;
-
-DialogControlFactory:
- {DialogControlFactory} 'dialogControlFactory' '{'
- (
- 'control' '{'
- controlSpecifications+=ControlFactorySpecification*
- '}'
- )?
- '}'
-;
-
-ControlFactorySpecification:
- parameterType=JvmTypeReference ':' feature=[types::JvmMember]
- '->'
- expression = XExpression
- ('target' target = XExpression)?
-;
-
-ProposalCreator:
- {ProposalCreator} 'proposals' '{'
- proposalsSpecifications+=ProposalSpecification*
- '}'
-;
-
-ProposalSpecification:
- parameterType=JvmTypeReference ':' feature=[types::JvmMember]
- '->'
- expression = XExpression
-;
-
-ViewerContentProvider:
- {ViewerContentProvider} 'viewerContentProvider' '{'
- ((
- 'elements' '{'
- elementsSpecifications+=LabelSpecification*
- '}'
- )?
- &
- (
- 'children' '{'
- childrenSpecifications+=LabelSpecification*
- '}'
- )?)
- '}'
-;
-
-// a utility base class for rules which access features of an EClass
-EmfFeatureAccess:
- FeatureCaptionSpecification |
- FeatureSpecification |
- ControlFactorySpecification |
- ProposalSpecification
-;
-
-// a utility base class for rules with 'extends' clause
-WithExtendsClause:
- Module
-;
-
-PartsSpecifications:
- {PartsSpecifications} 'parts' '{'
- parts += PartSpecification*
- '}'
-;
-
-PartSpecification: ViewSpecification;
-
-ViewSpecification:
- {ViewSpecification} 'viewpart' id=QualifiedName '{'
- 'viewname' viewName=STRING
- 'viewclass' type=JvmTypeReference
- ('viewcategory' category=QualifiedName)?
- '}'
-; \ No newline at end of file

Back to the top