History log of /PHP-Parser/ (Results 1226 – 1250 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
cea0c4a922-Mar-2015 Nikita Popov

Don't register aliases on PHP 7

729c7bde21-Mar-2015 Matthieu Napoli

#184 Add a flag to NodeTraverser to avoid cloning nodes

8982315b21-Mar-2015 Nikita Popov

Rename Cast\Object as well

As it will very likely be soft-reserved in PHP 7.

Old alias is still available, as usual.

0f556c1621-Mar-2015 Nikita Popov

Fix a few more Scalar\String_ occurances

Totally forgot that the parser uses macros...

7ec277e121-Mar-2015 Nikita Popov

Replace another Scalar\String occurance

Also canonicalize NameResover tests to avoid those pesky CRLF
issues.

1a62787220-Mar-2015 Nikita Popov

Rename nodes for compat with PHP 7

The old names will still be available on PHP 5.x.

592836c414-Mar-2015 Nikita Popov

Add support for T_HASHBANG (HHVM)

d225555813-Mar-2015 Andreas Lutro

Ensure compatibility with multiple autoloaders

Running a .phar or regular PHP executable that requires and includes its own
version of php-parser will cause a "cannot redeclare class" er

Ensure compatibility with multiple autoloaders

Running a .phar or regular PHP executable that requires and includes its own
version of php-parser will cause a "cannot redeclare class" error if said
executable also includes the autoloader of the current working directory.

show more ...

251e689212-Mar-2015 Nikita Popov

Add support for spaceship operator (<=>) [PHP 7]

Added as Expr\BinaryOp\Spaceship.

01f4be6b12-Mar-2015 Nikita Popov

Add support for null coalesce operator (??) [PHP 7]

Added as Expr\BinaryOp\Coalesce.

dc28449d12-Mar-2015 Nikita Popov

Drop whitespace after ... varargs collection

Also drop an obsolete pretty printer test.

3ad0d4b312-Mar-2015 Nikita Popov

Add support for return type declarations [PHP 7]

This adds an additional "returnType" subnode to Stmt\Function_,
Stmt\ClassMethod and Expr\Closure, as well as the corresponding
suppo

Add support for return type declarations [PHP 7]

This adds an additional "returnType" subnode to Stmt\Function_,
Stmt\ClassMethod and Expr\Closure, as well as the corresponding
support in the name resolver and pretty printer.

show more ...

4dbf067b11-Mar-2015 Nikita Popov

Add a few more string interpolation tests

Originally wanted to simplify the pretty-printer output, but ...
edge cases everywhere :/

5567f0ab10-Mar-2015 Nikita Popov

Add documentation TOC to readme

0c34706710-Mar-2015 Nikita Popov

Add "use" builder

f9fc2fc910-Mar-2015 Nikita Popov

Add support for global namespace in NS builder

NULL argument can now be used to create a global namespace {} block.

a2d7e89728-Feb-2015 Nikita Popov

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, ass

Use real properties for storing subnodes

Instead of storing subnodes in a subNodes dictionary, they are
now stored as simple properties. This requires declarating the
properties, assigning them in the constructor, overriding
the getSubNodeNames() method and passing NULL to the first argument
of the NodeAbstract constructor.

[Deprecated: It's still possible to use the old mode of operation
for custom nodes by passing an array of subnodes to the constructor.]

The only behavior difference this should cause is that getSubNodeNames()
will always return the original subnode names and skip any additional
properties that were dynamically added. E.g. this means that the
"namespacedName" node added by the NameResolver visitor is not treated
as a subnode, but as a dynamic property instead.

This change improves performance and memory usage.

show more ...


lib/PhpParser/Node/Arg.php
lib/PhpParser/Node/Const_.php
lib/PhpParser/Node/Expr/ArrayDimFetch.php
lib/PhpParser/Node/Expr/ArrayItem.php
lib/PhpParser/Node/Expr/Array_.php
lib/PhpParser/Node/Expr/Assign.php
lib/PhpParser/Node/Expr/AssignOp.php
lib/PhpParser/Node/Expr/AssignRef.php
lib/PhpParser/Node/Expr/BinaryOp.php
lib/PhpParser/Node/Expr/BitwiseNot.php
lib/PhpParser/Node/Expr/BooleanNot.php
lib/PhpParser/Node/Expr/Cast.php
lib/PhpParser/Node/Expr/ClassConstFetch.php
lib/PhpParser/Node/Expr/Clone_.php
lib/PhpParser/Node/Expr/Closure.php
lib/PhpParser/Node/Expr/ClosureUse.php
lib/PhpParser/Node/Expr/ConstFetch.php
lib/PhpParser/Node/Expr/Empty_.php
lib/PhpParser/Node/Expr/ErrorSuppress.php
lib/PhpParser/Node/Expr/Eval_.php
lib/PhpParser/Node/Expr/Exit_.php
lib/PhpParser/Node/Expr/FuncCall.php
lib/PhpParser/Node/Expr/Include_.php
lib/PhpParser/Node/Expr/Instanceof_.php
lib/PhpParser/Node/Expr/Isset_.php
lib/PhpParser/Node/Expr/List_.php
lib/PhpParser/Node/Expr/MethodCall.php
lib/PhpParser/Node/Expr/New_.php
lib/PhpParser/Node/Expr/PostDec.php
lib/PhpParser/Node/Expr/PostInc.php
lib/PhpParser/Node/Expr/PreDec.php
lib/PhpParser/Node/Expr/PreInc.php
lib/PhpParser/Node/Expr/Print_.php
lib/PhpParser/Node/Expr/PropertyFetch.php
lib/PhpParser/Node/Expr/ShellExec.php
lib/PhpParser/Node/Expr/StaticCall.php
lib/PhpParser/Node/Expr/StaticPropertyFetch.php
lib/PhpParser/Node/Expr/Ternary.php
lib/PhpParser/Node/Expr/UnaryMinus.php
lib/PhpParser/Node/Expr/UnaryPlus.php
lib/PhpParser/Node/Expr/Variable.php
lib/PhpParser/Node/Expr/Yield_.php
lib/PhpParser/Node/Name.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/Scalar/DNumber.php
lib/PhpParser/Node/Scalar/Encapsed.php
lib/PhpParser/Node/Scalar/LNumber.php
lib/PhpParser/Node/Scalar/MagicConst.php
lib/PhpParser/Node/Scalar/String.php
lib/PhpParser/Node/Stmt/Break_.php
lib/PhpParser/Node/Stmt/Case_.php
lib/PhpParser/Node/Stmt/Catch_.php
lib/PhpParser/Node/Stmt/ClassConst.php
lib/PhpParser/Node/Stmt/ClassLike.php
lib/PhpParser/Node/Stmt/ClassMethod.php
lib/PhpParser/Node/Stmt/Class_.php
lib/PhpParser/Node/Stmt/Const_.php
lib/PhpParser/Node/Stmt/Continue_.php
lib/PhpParser/Node/Stmt/DeclareDeclare.php
lib/PhpParser/Node/Stmt/Declare_.php
lib/PhpParser/Node/Stmt/Do_.php
lib/PhpParser/Node/Stmt/Echo_.php
lib/PhpParser/Node/Stmt/ElseIf_.php
lib/PhpParser/Node/Stmt/Else_.php
lib/PhpParser/Node/Stmt/For_.php
lib/PhpParser/Node/Stmt/Foreach_.php
lib/PhpParser/Node/Stmt/Function_.php
lib/PhpParser/Node/Stmt/Global_.php
lib/PhpParser/Node/Stmt/Goto_.php
lib/PhpParser/Node/Stmt/HaltCompiler.php
lib/PhpParser/Node/Stmt/If_.php
lib/PhpParser/Node/Stmt/InlineHTML.php
lib/PhpParser/Node/Stmt/Interface_.php
lib/PhpParser/Node/Stmt/Label.php
lib/PhpParser/Node/Stmt/Namespace_.php
lib/PhpParser/Node/Stmt/Property.php
lib/PhpParser/Node/Stmt/PropertyProperty.php
lib/PhpParser/Node/Stmt/Return_.php
lib/PhpParser/Node/Stmt/StaticVar.php
lib/PhpParser/Node/Stmt/Static_.php
lib/PhpParser/Node/Stmt/Switch_.php
lib/PhpParser/Node/Stmt/Throw_.php
lib/PhpParser/Node/Stmt/TraitUse.php
lib/PhpParser/Node/Stmt/TraitUseAdaptation.php
lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php
lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php
lib/PhpParser/Node/Stmt/Trait_.php
lib/PhpParser/Node/Stmt/TryCatch.php
lib/PhpParser/Node/Stmt/Unset_.php
lib/PhpParser/Node/Stmt/UseUse.php
lib/PhpParser/Node/Stmt/Use_.php
lib/PhpParser/Node/Stmt/While_.php
lib/PhpParser/NodeAbstract.php
lib/PhpParser/NodeDumper.php
lib/PhpParser/Unserializer/XML.php
test/PhpParser/NodeAbstractTest.php
73cace3602-Mar-2015 Thomas Ruiz

Implicit public should not generate as explicit public

c96636d108-Mar-2015 Nikita Popov

Revert "Create .gitattributes with basic export-ignores"

This reverts commit 0dd2b9a74c46149847d79e72cf418a0f519e3ed9.

Not having tests available causes issues for downstream
di

Revert "Create .gitattributes with basic export-ignores"

This reverts commit 0dd2b9a74c46149847d79e72cf418a0f519e3ed9.

Not having tests available causes issues for downstream
distributors. See issue #178.

show more ...

d56ff5a326-Feb-2015 Nikita Popov

Fix lexer tests for HHVM

HHVM does not throw warnings from token_get_all()
for invalid chars and unterminated comments. This
is not really integral functionality, so I'm okay
to

Fix lexer tests for HHVM

HHVM does not throw warnings from token_get_all()
for invalid chars and unterminated comments. This
is not really integral functionality, so I'm okay
to just skip it to get a passing HHVM build.

show more ...

3028bc8026-Feb-2015 Nikita Popov

And make it work on PHP 5 as well...

91295a0726-Feb-2015 Nikita Popov

Make tests compatible with PHP 7

When parsing on PHP 7 we will no longer be able to deal with
code that contains invalid octal literals. Currently we'll fatal,
after engine exception

Make tests compatible with PHP 7

When parsing on PHP 7 we will no longer be able to deal with
code that contains invalid octal literals. Currently we'll fatal,
after engine exceptions land we'll throw an exception instead.

show more ...

d600c60726-Feb-2015 Nikita Popov

Add PHP 7 to travis build

e3bc5b5614-Feb-2015 Hugo Fonseca

Added php shebang

ce5c76d713-Feb-2015 Markus Staab

prevent a unnecessary concat

analog to https://github.com/nikic/PHP-Parser/commit/b7ffdbbb929f9f07780a236659d1d1baf68ef137

1...<<41424344454647484950>>...68