Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366742 - Add ObjectExpression support in core and mof model
Summary: Add ObjectExpression support in core and mof model
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 13:59 EST by Paul Harmon CLA
Modified: 2017-02-23 14:17 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Harmon CLA 2011-12-14 13:59:39 EST
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.
Comment 1 Paul Harmon CLA 2011-12-14 14:12:02 EST
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
Comment 2 Lisa Lasher CLA 2012-03-30 18:34:51 EDT
close