| Summary: | Add ObjectExpression support in core and mof model | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Paul Harmon <pharmon> |
| Component: | EDT | Assignee: | Project Inbox <edt.mofmodel-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | svihovec |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have changed the following projects/files: org.eclipse.edt.compiler AbstractASTExpressionVisitor AbstractASTNodeVisitor AbstractASTVisitor IASTVisitor NodeTypes ObjectExpression ObjectExpressionEntry Parser egl.cup DefaultBinder EGL2MofExpression org.eclipse.edt.ide.core ErrorBaseParser ErrorNodeTypes error.cup org.eclipse.edt.mof.egl expressions.egl IrFactoryBase (org.eclipse.edt.mof.egl) ObjectExpression ObjectExpressionEntry IRFactoryBase (org.eclipse.edt.mof.egl.impl) ObjectExpressionEntryImpl ObjectExpressionImpl egl.mofar close |
A new expression named ObjectExpression needs to be added to EDT. The syntax for this is: ObjectExpression = { ObjectExpressionEntry* } ObjectExpressionEntry = ID : expression | STRING: expression For example: myObject = {key1 : 123, "this is the second key" : "def"}; The type of this expression will be ANY.