-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate files and remove xtend nature from regex
- Loading branch information
mmews
committed
Dec 14, 2023
1 parent
856c922
commit 1a0e3ae
Showing
10 changed files
with
60 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
source.. = src/,\ | ||
src-gen/,\ | ||
xtend-gen/ | ||
src-gen/ | ||
bin.includes = model/,\ | ||
META-INF/,\ | ||
.,\ | ||
|
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
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
33 changes: 33 additions & 0 deletions
33
...g.eclipse.n4js.regex/src/org/eclipse/n4js/regex/generator/RegularExpressionGenerator.java
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,33 @@ | ||
/** | ||
* Copyright (c) 2016 NumberFour AG. | ||
* 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 | ||
* | ||
* Contributors: | ||
* NumberFour AG - Initial API and implementation | ||
*/ | ||
package org.eclipse.n4js.regex.generator; | ||
|
||
import org.eclipse.emf.ecore.resource.Resource; | ||
import org.eclipse.xtext.generator.AbstractGenerator; | ||
import org.eclipse.xtext.generator.IFileSystemAccess2; | ||
import org.eclipse.xtext.generator.IGeneratorContext; | ||
|
||
/** | ||
* Generates code from your model files on save. | ||
* | ||
* See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation | ||
*/ | ||
public class RegularExpressionGenerator extends AbstractGenerator { | ||
|
||
@Override | ||
public void doGenerate(Resource resource, IFileSystemAccess2 fsa, IGeneratorContext context) { | ||
// fsa.generateFile('greetings.txt', 'People to greet: ' + | ||
// resource.allContents | ||
// .filter(typeof(Greeting)) | ||
// .map[name] | ||
// .join(', ')) | ||
} | ||
} |
32 changes: 0 additions & 32 deletions
32
....eclipse.n4js.regex/src/org/eclipse/n4js/regex/generator/RegularExpressionGenerator.xtend
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.