Comments (2)
New PR above
The PR above current does not include test cases yet.
@syedahmed1674 Will Push Test Cases later and will make a comment again
PR Title
Support the implementation of Display Color assignment with Parenthesis.
Example
displayColor = "red" <-- This does not work originally
PR Description
It was originally stated by @syedahmed1674 that by implementing the following into UmpleInternaalParser_CodeLayout + _CodeClass:
theColor = theColor.replace("=", ""); // Remove all '=' characters
theColor = theColor.replace(""", ""); // Remove all '"' characters
It would fix the issue by replacing any parsed values for the Coloring to remove the assignment sign and the quotation sign, It was later found that it does not pass through Grammar Test Cases and raises error 1502.
It was later discovered by @AxelTWC debugging that by removing the code:
if(!theColor.startsWith("\"")) theColor= "\""+theColor;
if(!theColor.endsWith("\"")) theColor= theColor+"\"";
It solves the issue where there will not be an extra " whenever having a quotation valued assignment
(Originally Debugging Gives " "red" by doing displayColor = "red" | It should fix the issue now)
A full build was ran and passes all previous cases in prior to making sure this works perfectly.
@syedahmed1674 Will Push Test Cases Specifically for this PR #2060 /Issue #2056
from umple.
Fixed by #2060
from umple.
Related Issues (20)
- Make Java code execution available on windows host development environment
- Develop Python execution
- Some Python code generated contains error HOT 2
- Ensure requirements (req) and requirements implementation (implementsReq) statements work coherently across all features
- Enums Not Generated Correctly in Ecore HOT 7
- Action.transitionClicked function causing errors when gathering code for transitions HOT 1
- Compositions in Umple are generated as regular associations in Ecore instead of remaining compositions. HOT 9
- Syntax Error in JavaScript Function URLs in State Diagrams on WSL
- The import module code is not generated for python file
- Support generation, display and potentially importing of Mermaid code in Umple
- Support Protobuf (Protocol Buffers) data format for persistence in Umple, not just Json HOT 1
- Design-decision assistance in Umple
- Small sub-diagrams of Umple's internal design
- Try an alternative of using orthogonal arcs in UmpleOnline graphviz diagrams
- URLs used as (or in) requirements descriptions in Umple
- Random generators for property-based testing in Umple
- Investigate the relationship possible between structurizr (umple-like syntax used for software architecture) and umple
- Find ways to improve accessibility of UmpleOnline
- Java Constructor Parameter Generation Order Different for 1--1 Associations HOT 2
- Editing of code in an Umple state machine action does not work in the case of a very long piece of text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umple.