This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #366 from eclipse/sz_bug476690
Refined token placement for indentation based languages
- Loading branch information
Showing
106 changed files
with
17,329 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
org.eclipse.xtext.ide.tests/model/generated/IndentationAwareUiTestLanguage.ecore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ecore:EPackage 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" name="indentationAwareUiTestLanguage" nsURI="http://www.eclipse.org/xtext/ide/tests/testlanguage/IndentationAwareUiTestLanguage" | ||
nsPrefix="indentationAwareUiTestLanguage"> | ||
<eClassifiers xsi:type="ecore:EClass" name="Tree"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="nodes" upperBound="-1" | ||
eType="#//TreeNode" containment="true"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="moreNodes" upperBound="-1" | ||
eType="#//OtherTreeNode" containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="TreeNode"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
eType="#//TreeNode" containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="OtherTreeNode"> | ||
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="childList" eType="#//ChildList" | ||
containment="true"/> | ||
</eClassifiers> | ||
<eClassifiers xsi:type="ecore:EClass" name="ChildList"> | ||
<eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1" | ||
eType="#//OtherTreeNode" containment="true"/> | ||
</eClassifiers> | ||
</ecore:EPackage> |
27 changes: 27 additions & 0 deletions
27
org.eclipse.xtext.ide.tests/model/generated/IndentationAwareUiTestLanguage.genmodel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?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" copyrightText="Copyright (c) 2016 TypeFox GmbH (http://www.typefox.io) and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html" | ||
modelDirectory="/org.eclipse.xtext.ide.tests/testlang-src-gen" modelPluginID="org.eclipse.xtext.ide.tests" | ||
forceOverwrite="true" modelName="IndentationAwareUiTestLanguage" updateClasspath="false" | ||
rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="6.0" | ||
copyrightFields="false" runtimeVersion="2.12"> | ||
<genPackages prefix="IndentationAwareUiTestLanguage" basePackage="org.eclipse.xtext.ide.tests.testlanguage" | ||
disposableProviderFactory="true" fileExtensions="indentationAwareUiTestLang" | ||
ecorePackage="IndentationAwareUiTestLanguage.ecore#/"> | ||
<genClasses ecoreClass="IndentationAwareUiTestLanguage.ecore#//Tree"> | ||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IndentationAwareUiTestLanguage.ecore#//Tree/nodes"/> | ||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IndentationAwareUiTestLanguage.ecore#//Tree/moreNodes"/> | ||
</genClasses> | ||
<genClasses ecoreClass="IndentationAwareUiTestLanguage.ecore#//TreeNode"> | ||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute IndentationAwareUiTestLanguage.ecore#//TreeNode/name"/> | ||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IndentationAwareUiTestLanguage.ecore#//TreeNode/children"/> | ||
</genClasses> | ||
<genClasses ecoreClass="IndentationAwareUiTestLanguage.ecore#//OtherTreeNode"> | ||
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute IndentationAwareUiTestLanguage.ecore#//OtherTreeNode/name"/> | ||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IndentationAwareUiTestLanguage.ecore#//OtherTreeNode/childList"/> | ||
</genClasses> | ||
<genClasses ecoreClass="IndentationAwareUiTestLanguage.ecore#//ChildList"> | ||
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference IndentationAwareUiTestLanguage.ecore#//ChildList/children"/> | ||
</genClasses> | ||
</genPackages> | ||
</genmodel:GenModel> |
15 changes: 0 additions & 15 deletions
15
...clipse/xtext/ide/tests/editor/contentassist/antlr/CustomEntryPointContentAssistTest.xtend
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.