Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download grammar_parser-7.x-1.2.tar.gztar.gz 69 KB
MD5: 9a44560b83ad648d59660e48ae86c176
SHA-1: 66ca3e21cb1a4246e7b0da52f53b5d030a680f00
SHA-256: 5910297763526d294c182f14b8c454f2b0708b9616dbbb1bbec792a352128ae9
Download grammar_parser-7.x-1.2.zipzip 75.87 KB
MD5: 76850ef9564303c5f16f24a75075b3ce
SHA-1: 44263fd987d2cb4fb5bf52193ace9bcad7edea7f
SHA-256: d1af01a9098518f090059c8d5e144f5204f9a2f5c9d7cf33a18b44edbfdf4d28

Release notes

Commits in this release.

b88801a Enhance traverse2() to optionally return a list of operands as indicated by the callback.
d5d80f6 Enhance stripComments() to recurse.
678cfcf Add a trim function; replace calls to PHP trim().
122b4e7 Add a routine to return a parameter variable at the specified index in a function call.
e72837e Add routine to find a function whose body includes a specified line number.
bc488a8 #886568: Handle nested brace expressions in a special string expression.
a3e630e #1198264: Add a README file.
39f34bd Initialize statements property to handle empty files. (Improve on prior commit.)
250b10f Rename class files (remove "grammar_parser" prefix).
804d219 Rename class files (remove "grammar_parser" prefix).
57a2a30 Use statements property for consistency.
669836f Remove PGPWriter::snippetToString() (identical to toString() method).
3de273d Initialize statements property to handle empty files.
920f31d Add PGPArray::toArray() to return the elements of the array consisting solely of plain text.
73934aa Restrict checking for appended comment to '}' and ';' tokens.
4bd9aed Revert PHP 5.3 requirement.
1860dce Replace calls to is_a() by instanceof operator.
575d10f Only list files with class declarations.
653d15f Require PHP 5.3 or better.
f18b092 Maintain list of class nodes (like functions and calls).
459b66d Stripping CVS keywords
a015073 reader.inc: #1038752: handle nested logical operators.
b38cd0f reader.inc: enhance buildBody() and buildBodyComment() treatment of comments appended to a line.
ba2ba1c editor.inc: change debugPrint2() calls to debugPrint(); editor.inc, parser.inc: add default parameters to three functions to eliminate PHP notices.

Created by: solotandem
Created on: 18 Aug 2011 at 01:37 UTC
Last updated: 18 Aug 2011 at 01:41 UTC
New features

Other releases