Thu Apr 25 08:56:08 2024
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2016-03-01

LEARN

2024-04-25 | 2024-03-25 | 2024-02-25 | 2024-01-25 | 2023-12-25 | 2023-11-25 | 2023-10-25 | 2023-09-25 | 2023-08-25 | 2023-07-25 | 2023-06-25 | 2023-05-25 | 2023-04-25 | 2023-03-25 | 2023-02-25 | 2023-01-25 | 2022-12-25 | 2022-11-25 | 2022-10-25 | 2022-09-25 | 2022-08-25 | 2022-07-25 | 2022-06-25 | 2022-05-25 | 2022-04-25 | 2022-03-25 | 2022-02-25 | 2022-01-25 | 2021-12-25 | 2021-11-25 | 2021-10-25 | 2021-09-25 | 2021-08-25 | 2021-07-25 | 2021-06-25 | 2021-05-25 | 2021-04-25 | 2021-03-25 | 2021-02-25 | 2021-01-25 | 2020-12-25 | 2020-11-25 | 2020-10-25 | 2020-09-25 | 2020-08-25 | 2020-07-25 | 2020-06-25 | 2020-05-25 | 2020-04-25 | 2020-03-25 | 2020-02-25 | 2020-01-25 | 2019-12-25 | 2019-11-25 | 2019-10-25 | 2019-09-25 | 2019-08-25 | 2019-07-25 | 2019-06-25 | 2019-05-25 | 2019-04-25 | 2019-03-25 | 2019-02-25 | 2019-01-25 | 2018-12-25 | 2018-11-25 | 2018-10-25 | 2018-09-25 | 2018-08-25 | 2018-07-25 | 2018-06-25 | 2018-05-25 | 2018-04-25 | 2018-03-25 | 2018-02-25 | 2018-01-25 | 2017-12-25 | 2017-11-25 | 2017-10-25 | 2017-09-25 | 2017-08-25 | 2017-07-25 | 2017-06-25 | 2017-05-25 | 2017-04-25 | 2017-03-25 | 2017-02-25 | 2017-01-25 | 2016-12-25 | 2016-11-25 | 2016-10-25 | 2016-09-25 | 2016-08-25 | 2016-07-25 | 2016-06-25 | 2016-05-25 | 2016-04-25 | 2016-03-25 | 2016-02-25 | 2016-01-25 | 2015-12-25 | 2015-11-25 | 2015-10-25 | 2015-09-25 | 2015-08-25 | 2015-07-25 | 2015-06-25 | 2015-05-25 | 2015-04-25 | 2015-03-25 | 2015-02-25 | 2015-01-25 | 2014-12-25 | 2014-11-25 | 2014-10-25

Key: Value:

Key: Value:

MESSAGE
DATE 2016-03-14
FROM From: "Ruben.Safir"
SUBJECT Subject: [Learn] CTX object
From learn-bounces-at-nylxs.com Mon Mar 14 19:03:30 2016
Return-Path:
X-Original-To: archive-at-mrbrklyn.com
Delivered-To: archive-at-mrbrklyn.com
Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82])
by mrbrklyn.com (Postfix) with ESMTP id 2C175163D44;
Mon, 14 Mar 2016 19:03:30 -0400 (EDT)
X-Original-To: learn-at-nylxs.com
Delivered-To: learn-at-nylxs.com
Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com
[209.85.192.43]) by mrbrklyn.com (Postfix) with ESMTP id 7A8FA163D43
for ; Mon, 14 Mar 2016 19:03:23 -0400 (EDT)
Received: by mail-qg0-f43.google.com with SMTP id w104so9420qge.1
for ; Mon, 14 Mar 2016 16:03:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=my.liu.edu; s=google;
h=from:to:subject:message-id:date:user-agent:mime-version
:content-transfer-encoding;
bh=kQBcyWrbpvkLrcP1NT6GQZy1nR0YlngiJXBAZE7cTXY=;
b=DW+FRkOFILpHp6FiEXdFGyCTmwkjNTqnqmWMEVLF3AY8z7nnowmf22RiaYgpiGGATm
hJm2ogy4ukWYD4Pi0WlLMt+w+E1+FrzjFjRB0c8Kwep2nYbph3J/t7KYDXDNg2KkchLr
5TSLX7PpYHdg8wZy4zdX6pMCVgjQLBVorIVW0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:from:to:subject:message-id:date:user-agent
:mime-version:content-transfer-encoding;
bh=kQBcyWrbpvkLrcP1NT6GQZy1nR0YlngiJXBAZE7cTXY=;
b=RZPOL/avJ4J45a9ChBqLb11kVu5CY6Nlmu3xWfFInKNducWCchG7eYzVI0MuEMdiyN
HhWqRRDNerIgl33CwBSrH8c+R4H2Mo5IhN/Lns2orbqWvXxrM+dPOHGlMACU2PuWgvNW
ZTQFVRnueQez5XQyqJ9h9SxD0ATGyEfi2HkcxbPez6WPgQssrW0zDdQ8O4W6cbQNg/rU
h6smsm4RXnhx8ezNfxb2f8TU+1g2d8ZbhZGqPopOFS2JCpSeuClHk/uTi7SyWaACibyM
PL9qyGqQpCjg9yTNfG2/m/Mo/UJBXKuaj1wJ1Y41VXs6Hp4bwwIaP+voEiHkvfWZ1ki1
Ocfw==
X-Gm-Message-State: AD7BkJIusgGD429X/SBjVgMUZYldY0WXLoMyd59GDisI2d2nOQ8DK4w8SV6nXNzhZ2oKxSNJ
X-Received: by 10.140.157.7 with SMTP id d7mr35577700qhd.17.1457996603003;
Mon, 14 Mar 2016 16:03:23 -0700 (PDT)
Received: from linux-p1s6.site (182631c.cst.lightpath.net. [24.38.3.28])
by smtp.gmail.com with ESMTPSA id c12sm11365799qge.36.2016.03.14.16.03.22
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 14 Mar 2016 16:03:22 -0700 (PDT)
From: "Ruben.Safir"
X-Google-Original-From: "Ruben.Safir"
To: learn-at-nylxs.com, Christopher League ,
hangout-at-nylxs.com
Message-ID: <56E74339.6080100-at-my.liu.edu>
Date: Mon, 14 Mar 2016 19:03:21 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.6.0
MIME-Version: 1.0
Subject: [Learn] CTX object
X-BeenThere: learn-at-nylxs.com
X-Mailman-Version: 2.1.17
Precedence: list
List-Id:
List-Unsubscribe: ,

List-Archive:
List-Post:
List-Help:
List-Subscribe: ,

Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: learn-bounces-at-nylxs.com
Sender: "Learn"

can anyone tell me where this ctx object is defined and when it is
instantiated?


visitProg(ctx) top-level program
where ctx.stmt(0).getText() is "n=5"
and ctx.stmt(1).getText() is "print -3*(n+1)"
visitStmt(ctx) assignment statement
where ctx.ID().getText() is "n"
and ctx.expr().getText() is "5"
visitExpr(ctx) numeric literal
where ctx.NUM().getText() is "5"
visitStmt(ctx) print statementan
where ctx.ID() is null
and ctx.expr().getText() is "-3*(n+1)"
visitExpr(ctx) multiplication
where ctx.expr(0).getText() is "-3"
and ctx.expr(1).getText() is "(n+1)"
visitExpr(ctx) negation
where ctx.expr(0).getText() is "3"
visitExpr(ctx) numeric literal
where ctx.NUM().getText() is "3"
visitExpr(ctx) parentheses
where ctx.expr(0).getText() is "n+1"
visitExpr(ctx) addition
where ctx.expr(0).getText() is "n"
and ctx.expr(1).getText() is "1"
visitExpr(ctx) variable
where ctx.ID().getText() is "n"
visitExpr(ctx) numeric literal
where ctx.NUM().getText() is "1"
_______________________________________________
Learn mailing list
Learn-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/learn

  1. 2016-03-01 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Announcement: Workshop Organizational Meeting tomorrow
  2. 2016-03-03 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] internships in IT
  3. 2016-03-04 Ruben Safir <ruben.safir-at-my.liu.edu> Subject: [Learn] Fwd: CSA Events Newsletter-Learning Beyond the Classroom
  4. 2016-03-05 Ruben Safir <mrbrklyn-at-panix.com> Subject: [Learn] [Hangout-NYLXS] Announcement: Workshop Organizational
  5. 2016-03-07 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] [Hangout-NYLXS] Announcement: Workshop Organizational
  6. 2016-03-14 Christopher League <Christopher.League-at-liu.edu> Re: [Learn] CTX object
  7. 2016-03-14 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] [Hangout-NYLXS] NYLXS: Kernel and C Programming Workshop
  8. 2016-03-14 eminker-at-gmail.com Re: [Learn] [Hangout-NYLXS] NYLXS: Kernel and C Programming Workshop
  9. 2016-03-14 From: "Ruben.Safir" <ruben.safir-at-my.liu.edu> Subject: [Learn] CTX object
  10. 2016-03-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] NYLXS: Kernel and C Programming Workshop

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!