Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 224D5200CBB for ; Tue, 20 Jun 2017 03:42:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1FDAF160BE4; Tue, 20 Jun 2017 01:42:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 64402160BE1 for ; Tue, 20 Jun 2017 03:42:57 +0200 (CEST) Received: (qmail 26058 invoked by uid 500); 20 Jun 2017 01:42:56 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 26046 invoked by uid 99); 20 Jun 2017 01:42:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2017 01:42:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3E1A51810D9 for ; Tue, 20 Jun 2017 01:42:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.796 X-Spam-Level: X-Spam-Status: No, score=-0.796 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=bluesunrise-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gXDo4VL5h281 for ; Tue, 20 Jun 2017 01:42:54 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 86E2D5FCE8 for ; Tue, 20 Jun 2017 01:42:53 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id c73so1858265pfk.2 for ; Mon, 19 Jun 2017 18:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluesunrise-com.20150623.gappssmtp.com; s=20150623; h=from:subject:message-id:date:to:mime-version; bh=YtMpU7guVzWeXrTHOsrtjYC1F9AcdGu2IUuRBGg/hr8=; b=M2zLcrerL8Bromvh3WDQPtF9iTEu8JXMKQ5JQuuLqFwyy/O1pvad1v4wZ6kr4RGYEd f/lTvEILULFBpu7hXfIKuEhn5YHRVMJ2kP8z0Z3J71UNSTq4Fc5C8/XWP2/om5v4/jUh 27dTNl20pyBjFRo7yYNxcFawilEMeG55eQsMMaQ7dK1YnxuQgfx3bTkzQmv2H4hb4VEE KcnvVvkKwbDR+mxv1wC5zh5eRlqSPSnHQZhCJnmpnjLHGH+ukCqjWErctp3JAvzoNSPt QpvxzebYMf4Z+ZrAKY7zhOYIbd/L7JlXBMTaXBIz1/XZsGsFHbn+6SLQM5sWmr23t7iJ MDsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:message-id:date:to:mime-version; bh=YtMpU7guVzWeXrTHOsrtjYC1F9AcdGu2IUuRBGg/hr8=; b=JVS9Nr/VckBUbmj2n9n8C1vf8VDOkRIQPwrTmCb0rtAr2UcLOIy9dXDPUNJubPX7o8 P9rlAnP9J4OzVuAXo9VuSkhWs0w7XkLS//QhP/aTT/DZKubat3yPQEOURhiWU5ypjIbm 9CURP2laZ6ed/BuDjU4b9vK3JtVpDZ3dt6RMZy/pLd5AE2qpU11y9nNPCM/SNesY1Urb o/6akVgXxIp898jEnWAStyNmvHMW/mCPJEdMeb+JFO96JCRCGH+azfu5xYgW3lQkMTz6 d5efAFKy6CVmELpvENo0I/1fHZLJANBpkCUFH2Da1wqNB6rUdrYwMqm23pH+eIo5oQ8Z pDnA== X-Gm-Message-State: AKS2vOz0ZTbJTChbqFxpikSQi3XXWQdAz/bo/Zg1vE6++Z63au68NA1Y i6h1QuCa/zHoSlXBYtdejg== X-Received: by 10.98.192.195 with SMTP id g64mr27775389pfk.26.1497922971849; Mon, 19 Jun 2017 18:42:51 -0700 (PDT) Received: from [10.1.10.181] (c-50-185-94-236.hsd1.ca.comcast.net. [50.185.94.236]) by smtp.gmail.com with ESMTPSA id d89sm607092pfl.7.2017.06.19.18.42.51 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Jun 2017 18:42:51 -0700 (PDT) From: David S Taylor Content-Type: multipart/alternative; boundary="Apple-Mail=_70B5B7E9-EE93-437B-BAC6-50F4709FB5B7" Subject: [jexl] - Jexl parser tree - retrieve variables from expression Message-Id: <8EAFC646-D560-4A2F-B334-CC6BF8119975@bluesunrise.com> Date: Mon, 19 Jun 2017 18:42:50 -0700 To: user@commons.apache.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) archived-at: Tue, 20 Jun 2017 01:42:58 -0000 --Apple-Mail=_70B5B7E9-EE93-437B-BAC6-50F4709FB5B7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 JEXL question:=20 Is there a way to take an expression such as =E2=80=9C(x + y) / z)=E2=80=9D= and get a parser tree or even just a list of the variables in the = expression? I would like to know what variables are in my expression, in the example = above, I would want a list of x,y,z Is that possible? Thanks, =E2=80=94 David --Apple-Mail=_70B5B7E9-EE93-437B-BAC6-50F4709FB5B7--