Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
JEXL 2.0 Support#12161/v5
more
Tags:  v1.1

JEXL 2.0 Support[TSK-12161]

Tracker: Tasks Priority: NormalNormal Owner: --
Assigned to: -- Submitted by: ejboy Jun 27, 2010 11:41 Status: Closed
Start Date: -- End Date: -- Estimated Hours: --
Spent Effort: -- % Spent / Plan: -- Category: --
Severity: --
Relations
Loading...
Description
Scriptella needs to upgrade JEXL support to 2.0. See syntax description.

The following features were introduced in 2.0:

  • Assignment expression: a = b (and a.b.c = d). Issue: JEXL-27.
  • Assigns a variable (ant-like variable or bean-property)
Ternary operator expression: a ? b : c (and a ?: c). Issue: JEXL-19.
  • The usual inline conditional shortcut and its 'Elvis' form (a ?: b evaluates as a ? a : b)

Constructor call expression: new('my.class.name', arguments...)

  • Creates a new instance of a class using the most appropriate
constructor according to the actual arguments

Function namespace: ns:func(arguments...) Issue: JEXL-15.

  • A function namespace allows the use of class or instance methods in
function calls

UnifiedJEXL

  • Adds ${...} and #{...} JSP/EL syntax support on top of the JexlEngine

JSR-223 support. Issue: JEXL-63.

  • Implement JSR-223 Scripting Engine for JEXL script (need BSF-3.0 on
Java < 6)

Error and exception handling. Issue: JEXL-10, JEXL-11.

  • Configuring the leniency and verbosity of the Jexl engine allows user
control over the error handling policy

Support Unicode escapes in string literals and quote escaping. Issue: JEXL-17.

  • 'foo\u0020bar\'quux'

Perl-like regular-expression operators. Issue: JEXL-46.

Details
Comments & Attachments (2)
Associations (0)
Children (0)
References (0)
SCM Commits (1)
All (1)