Henri Biestro created JEXL-243: ---------------------------------- Summary: Allow restricting available features in Script/Expressions Key: JEXL-243 URL: https://issues.apache.org/jira/browse/JEXL-243 Project: Commons JEXL Issue Type: Improvement Affects Versions: 3.1 Reporter: Henri Biestro Fix For: 3.2
Restrict features related to potential dangers/difficulties one may encounter whilst scripting; Reserved Names: a set of reserved variable names that can not be used as local variable (or parameter) names Registers: boolean property allowing parsing of register syntax (#number) Global Side Effect : boolean property controlling assigning/modifying values on global variables Side Effect: boolean property controlling side effects assigning/modifying values on any variable New Instance: boolean property controlling creating new instances through new(...) or using class as functor Loops: boolean property controlling usage of loop constructs (while(true), for(...)) Lambda: boolean property controlling usage of script function declarations -- This message was sent by Atlassian JIRA (v6.4.14#64029)