-
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.
GH-2603: As a smith I want to migrate some Xtend files to Java (part …
…8) (#2605) * some migrations * migrate formatter * more migrations * migrate migrate * migrate migrate * some fixes * fix recursion * fix recursion * fix wrong cast * migrate migrate * migrate migrate * fix * migrate migrate * migrate migrate * migrate migrate * migrate migrate * migrate migrate * migrate * fix * migrate N4JSScopeProvider * migrate migrate * migrate MemberScopingHelper * migrate migrate * migrate migrate * fix * migrate more * migrate * fix * migrate * migrate * migrate * migrate * my great migrate * migrate * migrate the migratable * migrate * migrate * migrate
- Loading branch information
mmews-n4
authored
Mar 7, 2024
1 parent
f2b2ce1
commit 9ba8677
Showing
138 changed files
with
18,443 additions
and
15,564 deletions.
There are no files selected for viewing
521 changes: 521 additions & 0 deletions
521
plugins/org.eclipse.n4js/src/org/eclipse/n4js/compileTime/CompileTimeEvaluator.java
Large diffs are not rendered by default.
Oops, something went wrong.
447 changes: 0 additions & 447 deletions
447
plugins/org.eclipse.n4js/src/org/eclipse/n4js/compileTime/CompileTimeEvaluator.xtend
This file was deleted.
Oops, something went wrong.
2,379 changes: 2,379 additions & 0 deletions
2,379
plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatter.java
Large diffs are not rendered by default.
Oops, something went wrong.
1,441 changes: 0 additions & 1,441 deletions
1,441
plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatter.xtend
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatterPreferenceKeys.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,42 @@ | ||
/** | ||
* 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.formatting2; | ||
|
||
import org.eclipse.xtext.formatting2.FormatterPreferenceKeys; | ||
import org.eclipse.xtext.preferences.BooleanKey; | ||
import org.eclipse.xtext.preferences.IntegerKey; | ||
|
||
/** | ||
* | ||
*/ | ||
public class N4JSFormatterPreferenceKeys extends FormatterPreferenceKeys { | ||
/***/ | ||
public static BooleanKey FORMAT_PARENTHESIS = new BooleanKey("format.parenthesis", false); | ||
/***/ | ||
public static BooleanKey FORMAT_SURROUND_PAREN_CONTENT_WITH_SPACE = new BooleanKey( | ||
"format.surround_paren_content_with_space", false); | ||
/***/ | ||
public static IntegerKey FORMAT_MAX_CONSECUTIVE_NEWLINES = new IntegerKey("format.max_consecutive_newlines", 2); | ||
/***/ | ||
public static BooleanKey FORMAT_SWITCH_CASES_HAVE_SPACE_IN_FRONT_OF_COLON = new BooleanKey( | ||
"format.switch_cases_have_space_in_front_of_colon", false); | ||
/***/ | ||
public static BooleanKey FORMAT_AUTO_WRAP_IN_FRONT_OF_LOGICAL_OPERATOR = new BooleanKey( | ||
"format.auto_wrap_in_front_of_logical_operator", true); | ||
/** | ||
* Considering the code <code>import a, {b,c,d} from "xy";</code> a value of <code>true</code> will render an | ||
* additional space after "{" and one before the closing bracket "}" Default value is <code>false</code> and the | ||
* line will be rendered as above. | ||
*/ | ||
public static BooleanKey FORMAT_SURROUND_IMPORT_LIST_WITH_SPACE = new BooleanKey( | ||
"format.surround_import_list_with_space", false); | ||
|
||
} |
31 changes: 0 additions & 31 deletions
31
plugins/org.eclipse.n4js/src/org/eclipse/n4js/formatting2/N4JSFormatterPreferenceKeys.xtend
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.