Re: [Jastadd] syntax for rewrites?

From: Bill Janssen <janssen_at_parc.com>
Date: Thu, 25 Oct 2012 16:26:06 -0700

Bill Janssen <janssen_at_parc.com> wrote:

> I see that JModelica uses an undocumented JastAdd rewrite syntax of the
> form
>
> for NODETYPE1 in NODETYPE2.METHOD() {
> ...
> }

Sorry, I mis-typed that. Should read

  rewrite NODETYPE1 in NODETYPE2.METHOD() {
     ...
  }

> This use of an "in" keyword doesn't seem to be documented in the JastAdd
> reference manual. Could that be updated to reflect this?
>
> Thanks.
>
> Bill
Received on Fri Oct 26 2012 - 01:26:14 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST