History log of /PHP-Parser/ (Results 801 – 825 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
8bdcb47830-Jun-2017 Pavel Levin

Simplify ternary operator for PHP7 (#395)

46e7fea728-Jun-2017 Nikita Popov

Merge branch '3.x'

Conflicts:
test/PhpParser/Builder/ParamTest.php


4a7d011328-Jun-2017 Nikita Popov

Add support for object type

4fea054e28-Jun-2017 Nikita Popov

Merge branch '3.x'

Conflicts:
lib/PhpParser/Parser/Php7.php


7f862ac228-Jun-2017 Nikita Popov

Add support for trailing comma in group use

Revision tags: v3.0.6
0808939f28-Jun-2017 Nikita Popov

Release PHP-Parser 3.0.6

19dde13613-Jun-2017 Nikita Popov

Treat special names correctly in getShortName()

Also change the API to accept a string rather than a FullyQualified
name instance, as this is not appropriate for symbols like "self".

5b43809b03-Jun-2017 Nikita Popov

Drop HHVM support

Not dropping any of the HHVM workaround code yet. If someone sorts
out the Travis build, I'm fine with keeping HHVM support.

7bfc320b03-Jun-2017 Nikita Popov

Switch to dist: trusty, so HHVM runs

7646b31903-Jun-2017 Nikita Popov

Merge branch '3.x'


bc0bff3f03-Jun-2017 Nikita Popov

Fix method name in tests

c28b855631-May-2017 Romain Neutron

Fix Lexer errorHandling when there is no tokens

I encounter an issue when no tokens exist. An error `Undefined offset -1` is triggered.

24d583d528-May-2017 xKerman

Fix example code to work (#390)

b2c6497d07-May-2017 Nikita Popov

Remove undefined variable hack

No longer necessary, as we don't support PHP 5 anymore.

4e162bd007-May-2017 Nikita Popov

Fix type annotation for List::$items

73dc35cb07-May-2017 Nikita Popov

Allow null in ClassMethod::getStmts()

b1af3d1f05-May-2017 Wes

Add Node::setAttributes() (#385)

92275bdf29-Apr-2017 Nikita Popov

Remove Node::setLine() method

56d57d4729-Apr-2017 Nikita Popov

Merge branch '3.x'


3da86df429-Apr-2017 Nikita Popov

Deprecate Node::setLine()

5ec59eeb28-Apr-2017 Nikita Popov

Fix some typos

a32e379728-Apr-2017 Nikita Popov

Generate PHP 7 type annotations


lib/PhpParser/Autoloader.php
lib/PhpParser/Builder.php
lib/PhpParser/Builder/Class_.php
lib/PhpParser/Builder/Function_.php
lib/PhpParser/Builder/Interface_.php
lib/PhpParser/Builder/Method.php
lib/PhpParser/Builder/Namespace_.php
lib/PhpParser/Builder/Param.php
lib/PhpParser/Builder/Property.php
lib/PhpParser/Builder/Trait_.php
lib/PhpParser/Builder/Use_.php
lib/PhpParser/BuilderFactory.php
lib/PhpParser/BuilderHelpers.php
lib/PhpParser/Comment.php
lib/PhpParser/Error.php
lib/PhpParser/ErrorHandler/Collecting.php
lib/PhpParser/Lexer.php
lib/PhpParser/NameContext.php
lib/PhpParser/Node.php
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/Error.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/YieldFrom.php
lib/PhpParser/Node/Expr/Yield_.php
lib/PhpParser/Node/FunctionLike.php
lib/PhpParser/Node/Identifier.php
lib/PhpParser/Node/Name.php
lib/PhpParser/Node/Name/FullyQualified.php
lib/PhpParser/Node/Name/Relative.php
lib/PhpParser/Node/NullableType.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/Scalar/DNumber.php
lib/PhpParser/Node/Scalar/Encapsed.php
lib/PhpParser/Node/Scalar/EncapsedStringPart.php
lib/PhpParser/Node/Scalar/LNumber.php
lib/PhpParser/Node/Scalar/MagicConst.php
lib/PhpParser/Node/Scalar/MagicConst/Class_.php
lib/PhpParser/Node/Scalar/MagicConst/Dir.php
lib/PhpParser/Node/Scalar/MagicConst/File.php
lib/PhpParser/Node/Scalar/MagicConst/Function_.php
lib/PhpParser/Node/Scalar/MagicConst/Line.php
lib/PhpParser/Node/Scalar/MagicConst/Method.php
lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php
lib/PhpParser/Node/Scalar/MagicConst/Trait_.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/Expression.php
lib/PhpParser/Node/Stmt/Finally_.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/GroupUse.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/Nop.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/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/NodeFinder.php
lib/PhpParser/NodeTraverser.php
lib/PhpParser/NodeTraverserInterface.php
lib/PhpParser/NodeVisitor/FindingVisitor.php
lib/PhpParser/NodeVisitor/NameResolver.php
lib/PhpParser/Parser.php
lib/PhpParser/Parser/Multiple.php
lib/PhpParser/ParserAbstract.php
lib/PhpParser/ParserFactory.php
lib/PhpParser/PrettyPrinterAbstract.php
test/PhpParser/Node/Stmt/ClassMethodTest.php
test/PhpParser/NodeAbstractTest.php
test/PhpParser/ParserTest.php
e5fbdd6b28-Apr-2017 Nikita Popov

Add upgrading notes

3da1897628-Apr-2017 Nikita Popov

Distinguish between implicit/explicit alias

The UseUse::$alias node can now be null if an alias is not
explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar"
are now repres

Distinguish between implicit/explicit alias

The UseUse::$alias node can now be null if an alias is not
explicitly given. As such "use Foo\Bar" and "use Foo\Bar as Bar"
are now represented differently.

The UseUse->getAlias() method replicates the previous semantics,
by returning "Bar" in both cases.

show more ...

a6846e3b28-Apr-2017 Nikita Popov

Always use Identifier nodes

The parser will now always generate Identifier nodes (for
non-namespaced identifiers). This obsoletes the useIdentifierNodes
parser option.

Node

Always use Identifier nodes

The parser will now always generate Identifier nodes (for
non-namespaced identifiers). This obsoletes the useIdentifierNodes
parser option.

Node constructors still accepts strings and will implicitly create
an Identifier wrapper. Identifier implement __toString(), so that
outside of strict-mode many things continue to work without changes.

show more ...


grammar/php5.y
grammar/php7.y
grammar/rebuildParsers.php
lib/PhpParser/Builder/Param.php
lib/PhpParser/BuilderHelpers.php
lib/PhpParser/Node/Const_.php
lib/PhpParser/Node/Expr/ClassConstFetch.php
lib/PhpParser/Node/Expr/Closure.php
lib/PhpParser/Node/Expr/MethodCall.php
lib/PhpParser/Node/Expr/PropertyFetch.php
lib/PhpParser/Node/Expr/StaticCall.php
lib/PhpParser/Node/Expr/StaticPropertyFetch.php
lib/PhpParser/Node/FunctionLike.php
lib/PhpParser/Node/NullableType.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/Stmt/ClassLike.php
lib/PhpParser/Node/Stmt/ClassMethod.php
lib/PhpParser/Node/Stmt/Class_.php
lib/PhpParser/Node/Stmt/DeclareDeclare.php
lib/PhpParser/Node/Stmt/Function_.php
lib/PhpParser/Node/Stmt/Goto_.php
lib/PhpParser/Node/Stmt/Interface_.php
lib/PhpParser/Node/Stmt/Label.php
lib/PhpParser/Node/Stmt/PropertyProperty.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/UseUse.php
lib/PhpParser/NodeVisitor/NameResolver.php
lib/PhpParser/Parser/Php5.php
lib/PhpParser/Parser/Php7.php
lib/PhpParser/ParserAbstract.php
lib/PhpParser/PrettyPrinter/Standard.php
lib/PhpParser/PrettyPrinterAbstract.php
test/PhpParser/Builder/InterfaceTest.php
test/PhpParser/Builder/ParamTest.php
test/PhpParser/CodeParsingTest.php
test/PhpParser/NodeAbstractTest.php
test/PhpParser/PrettyPrinterTest.php
test/code/parser/errorHandling/recovery.test
test/code/parser/expr/closure.test
test/code/parser/expr/constant_expr.test
test/code/parser/expr/fetchAndCall/constFetch.test
test/code/parser/expr/fetchAndCall/constantDeref.test
test/code/parser/expr/fetchAndCall/funcCall.test
test/code/parser/expr/fetchAndCall/newDeref.test
test/code/parser/expr/fetchAndCall/objectAccess.test
test/code/parser/expr/fetchAndCall/staticCall.test
test/code/parser/expr/fetchAndCall/staticPropertyFetch.test
test/code/parser/expr/new.test
test/code/parser/expr/uvs/isset.test
test/code/parser/expr/uvs/misc.test
test/code/parser/expr/uvs/new.test
test/code/parser/expr/uvs/staticProperty.test
test/code/parser/identMode.test
test/code/parser/scalar/docString.test
test/code/parser/scalar/encapsedString.test
test/code/parser/semiReserved.test
test/code/parser/stmt/blocklessStatement.test
test/code/parser/stmt/class/abstract.test
test/code/parser/stmt/class/anonymous.test
test/code/parser/stmt/class/conditional.test
test/code/parser/stmt/class/constModifierErrors.test
test/code/parser/stmt/class/constModifiers.test
test/code/parser/stmt/class/final.test
test/code/parser/stmt/class/implicitPublic.test
test/code/parser/stmt/class/interface.test
test/code/parser/stmt/class/modifier.test
test/code/parser/stmt/class/name.test
test/code/parser/stmt/class/php4Style.test
test/code/parser/stmt/class/simple.test
test/code/parser/stmt/class/staticMethod.test
test/code/parser/stmt/class/trait.test
test/code/parser/stmt/const.test
test/code/parser/stmt/controlFlow.test
test/code/parser/stmt/declare.test
test/code/parser/stmt/function/builtinTypeDeclarations.test
test/code/parser/stmt/function/byRef.test
test/code/parser/stmt/function/conditional.test
test/code/parser/stmt/function/defaultValues.test
test/code/parser/stmt/function/nullableTypes.test
test/code/parser/stmt/function/returnTypes.test
test/code/parser/stmt/function/specialVars.test
test/code/parser/stmt/function/typeDeclarations.test
test/code/parser/stmt/function/variadic.test
test/code/parser/stmt/function/variadicDefaultValue.test
test/code/parser/stmt/generator/basic.test
test/code/parser/stmt/generator/yieldPrecedence.test
test/code/parser/stmt/generator/yieldUnaryPrecedence.test
test/code/parser/stmt/namespace/alias.test
test/code/parser/stmt/namespace/groupUse.test
test/code/parser/stmt/namespace/groupUseErrors.test
test/code/parser/stmt/namespace/groupUsePositions.test
test/code/parser/stmt/namespace/invalidName.test
test/code/parser/stmt/namespace/outsideStmt.test
test/code/parser/stmt/namespace/outsideStmtInvalid.test

1...<<31323334353637383940>>...68