v++
Добавил удаление мертвого кода.
This commit is contained in:
@@ -118,6 +118,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
PassCode_2021.SPF_ExpressionSubstitution,
|
||||
PassCode_2021.EraseBadSymbols,
|
||||
PassCode_2021.SPF_RemoveComments,
|
||||
PassCode_2021.SPF_RemoveDeadCode,
|
||||
PassCode_2021.CombineFiles,
|
||||
PassCode_2021.CopyProject,
|
||||
PassCode_2021.PrepareForModulesAssembly,
|
||||
@@ -375,6 +376,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
res.add(PassCode_2021.SPF_RemoveDvmDirectivesToComments);
|
||||
res.add(PassCode_2021.SPF_RemoveOmpDirectives);
|
||||
res.add(PassCode_2021.SPF_RemoveComments);
|
||||
res.add(PassCode_2021.SPF_RemoveDeadCode);
|
||||
res.add(PassCode_2021.SPF_InsertIncludesPass);
|
||||
//--
|
||||
res.add(PassCode_2021.SPF_LoopEndDoConverterPass);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class Visualiser extends Component {
|
||||
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
||||
@Override
|
||||
public void GetVersionInfo() {
|
||||
version = 1063;
|
||||
version = 1064;
|
||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||
date_text = df.format(getClassBuildTime());
|
||||
|
||||
4
src/Visual_DVM_2021/Passes/All/SPF_RemoveDeadCode.java
Normal file
4
src/Visual_DVM_2021/Passes/All/SPF_RemoveDeadCode.java
Normal file
@@ -0,0 +1,4 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Visual_DVM_2021.Passes.SapforTransformation;
|
||||
public class SPF_RemoveDeadCode extends SapforTransformation {
|
||||
}
|
||||
@@ -316,11 +316,14 @@ public enum PassCode_2021 {
|
||||
SPF_InsertPrivateFromGUI,
|
||||
CloneDVMPackage,
|
||||
CloneSapforPackage,
|
||||
SPF_RemoveDeadCode,
|
||||
;
|
||||
public String getDescription() {
|
||||
switch (this) {
|
||||
case Undefined:
|
||||
return "?";
|
||||
case SPF_RemoveDeadCode:
|
||||
return "Удаление мертвого кода";
|
||||
case CloneSapforPackage:
|
||||
return "Клонировать пакет SAPFOR с текущей версией";
|
||||
case CloneDVMPackage:
|
||||
|
||||
BIN
src/icons/Transformations/SPF_RemoveDeadCode.png
Normal file
BIN
src/icons/Transformations/SPF_RemoveDeadCode.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user