Closed
Bug 660351
Opened 13 years ago
Closed 12 years ago
[l20n] Separate object referencing and attribute referencing expression
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: zbraniecki, Assigned: zbraniecki)
Details
Attachments
(1 file)
4.42 KB,
patch
|
Details | Diff | Splinter Review |
Historically we had no way to separate object value properties expression and entity attribute expressions. I decided to separate them using the following notion: object value property expression: - computed: identifier[property] - not computed: identifier.property entity attribute expression: - computed: identifier[.property] - not computed: identifier..property I'm going to attach a patch against silme AST and parser that shows the proposed changes.
Assignee | ||
Updated•13 years ago
|
Assignee: smontagu → gandalf
OS: Mac OS X → All
Assignee | ||
Comment 1•13 years ago
|
||
requesting feedback from Axel. I'm changing the way Idref works (removing multipart Idrefs in favor of nested Indexes) I'm reusing the AST model from JS with their MemberExpressions with computed property. Despite allowing for nested combinations (obj..attr.prop or obj[.obj2..attr2]) it also gives serializer ability to recognize the way ObjectIndex is being used depending on it's computed value.
Attachment #535755 -
Flags: feedback?(l10n)
Assignee | ||
Updated•13 years ago
|
Attachment #535755 -
Attachment is patch: true
Attachment #535755 -
Attachment mime type: text/x-patch → text/plain
Assignee | ||
Updated•12 years ago
|
Attachment #535755 -
Flags: feedback?(l10n)
Assignee | ||
Comment 2•12 years ago
|
||
fixed long ago in the l20n python tree
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•