-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give state variables hierarchical names
Allows generation of substates with equal names in different regions
- Loading branch information
Showing
11 changed files
with
157 additions
and
76 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
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package generator; | ||
|
||
import java.util.Collection; | ||
|
||
import org.eclipse.epsilon.eol.exceptions.EolUserException; | ||
import org.eclipse.epsilon.eol.userinput.IUserInput; | ||
|
||
public class UserInput implements IUserInput { | ||
|
||
@Override | ||
public void inform(String message) { | ||
System.out.println(message); | ||
} | ||
|
||
@Override | ||
public boolean confirm(String question, boolean default_) throws EolUserException { | ||
return false; | ||
} | ||
|
||
@Override | ||
public Object chooseMany(String question, Collection<?> choices, Collection<?> default_) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Object choose(String question, Collection<?> choices, Object default_) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String prompt(String question, String default_) { | ||
return ""; | ||
} | ||
|
||
@Override | ||
public int promptInteger(String question, int default_) { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public float promptReal(String question, float default_) { | ||
return 0; | ||
} | ||
|
||
@Override | ||
public double promptReal(String question, double default_) { | ||
return 0; | ||
} | ||
} |
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
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
Oops, something went wrong.