JEXL-369: move const/defined logic to lexical scope;
authorhenrib <henrib@apache.org>
Mon, 16 May 2022 16:58:33 +0000 (18:58 +0200)
committerhenrib <henrib@apache.org>
Mon, 16 May 2022 16:58:33 +0000 (18:58 +0200)
commit4ddf18313cadee541132d19beac62fcaa02f7321
tree9d89eb9930eaebde15fd64d9d18b0ac7e0ed0f89
parent53b18ef85564e32ff387e4009dc2fc8912479fb7
JEXL-369: move const/defined logic to lexical scope;
- restore explicit lexical shade through features;
- detect non-initialized const variables
src/main/java/org/apache/commons/jexl3/internal/LexicalFrame.java
src/main/java/org/apache/commons/jexl3/internal/LexicalScope.java
src/main/java/org/apache/commons/jexl3/internal/Scope.java
src/main/java/org/apache/commons/jexl3/parser/ASTIdentifier.java
src/main/java/org/apache/commons/jexl3/parser/JexlLexicalNode.java
src/main/java/org/apache/commons/jexl3/parser/JexlParser.java
src/main/java/org/apache/commons/jexl3/parser/Parser.jjt
src/test/java/org/apache/commons/jexl3/LambdaTest.java
src/test/java/org/apache/commons/jexl3/LexicalTest.java