Re: [RFC][Discussion] Parser extension API

From: Date: Tue, 17 Feb 2015 19:09:41 +0000
Subject: Re: [RFC][Discussion] Parser extension API
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-83000@lists.php.net to get a copy of this message
Hi Alexander, > On 17 Feb 2015, at 12:46, Alexander Lisachenko <lisachenko.it@gmail.com> wrote: > > Hello, internals! > > I want to introduce a RFC for providing a userland API for accessing an > Abstract Syntax Tree of the source code and to provide userland parser > hooks for source code modification: > https://wiki.php.net/rfc/parser-extension-api Looks cool and I could see a couple of interesting possibilities arising. One thing: any particular reason ExtensionInterface is static? I could see a couple of benefits having extensions carry state and registerExtension() taking an instance of ExtensionInterface, not a class name. What do you think? cu, Lars

Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
« previous php.internals (#83000) next »