[
https://issues.apache.org/jira/browse/JEXL-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739229#action_12739229
]
Sebb commented on JEXL-43:
--------------------------
Correction - the website does not describe the [] operator when used with text
strings rather than numbers.
I propose to add something like
====
HashMap Access
HashMap entries be accessed using either square brackets or a dotted string,
e.g.
map[key]
or
map.key
for example:
map = [ 'a' => 0]
map['a'] = map.a+ 1
====
OK?
> Website overview does not mention method calls and new 2.0 features
> -------------------------------------------------------------------
>
> Key: JEXL-43
> URL: https://issues.apache.org/jira/browse/JEXL-43
> Project: Commons JEXL
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Sebb
> Priority: Minor
> Fix For: 2.0
>
> Attachments: JEXL-43.patch
>
>
> The website overview of language syntax does not mention method calls.
> It would be helpful if a simple method call was documented; for more
> information, the reader could be directed to the "Reference" section.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.