History log of /PHP-Parser/grammar/rebuildParsers.php (Results 26 – 35 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.0.0beta1, v2.1.1
# 83f34e7f 30-Aug-2016 Nikita Popov

Retain comments on blocks on first inner statement


Revision tags: v3.0.0alpha1, v2.1.0
# 588e6a4d 02-Apr-2016 Nikita Popov

Add string kinds and doc string labels

Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

* String_::KIND_SINGLE_QUOTED
* Str

Add string kinds and doc string labels

Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

* String_::KIND_SINGLE_QUOTED
* String_::KIND_DOUBLE_QUOTED
* String_::KIND_NOWDOC
* String_::KIND_HEREDOC

Additionally, if the string kind is one of the latter two, an
attribute "docLabel" is provided, which contains the doc string
label (STR in <<<STR) that was originally used.

The pretty printer will try to take the original kind of the string,
as well as the used doc string label into account.

show more ...


# 14de7189 05-Apr-2016 Nikita Popov

Fix nop statement comment assignment

Keep around the start attributes on the lookahead token around in
a separate parser property.


Revision tags: v2.0.1, v2.0.0, v2.0.0beta1
# 7eac2cfd 02-Oct-2015 Nikita Popov

Introduce Nop statement to collect dangling comments

A Nop statement will be inserted into statement lists if there are
any trailing comments in the list (which would otherwise not be

Introduce Nop statement to collect dangling comments

A Nop statement will be inserted into statement lists if there are
any trailing comments in the list (which would otherwise not be
associated with any node).

The pretty printer output currently still contains a superfluous
newline.

show more ...


# a9074c74 03-Dec-2015 Nikita Popov

Introduce Scalar\EncapsedStringPart


Revision tags: v1.4.1, v2.0.0alpha1, v1.4.0
# ef9a154d 13-Jun-2015 Nikita Popov

Add support for unicode escape sequences

Only parsed if the PHP 7 parser is used.


# bc21514e 13-Jun-2015 Nikita Popov

Move token constants into separate class

As these are shared between Php5 and Php7 parsers they should be
in some common place, otherwise we'd have to always reference either
one or

Move token constants into separate class

As these are shared between Php5 and Php7 parsers they should be
in some common place, otherwise we'd have to always reference either
one or the other.

show more ...


# 61e06069 13-Jun-2015 Nikita Popov

Implement generalized yield operator

And split tokens.y off, so I don't waste time debugging this again...


# 74c57eef 13-Jun-2015 Nikita Popov

Test PHP 5 and PHP 7 parsers

At this point they should return the same result.


# ca3b44bf 13-Jun-2015 Nikita Popov

Fork separate PHP 7 parser

Also add ParserInterface


12