History log of /PHP-Parser/ (Results 826 – 850 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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
3b4abbfc28-Apr-2017 Nikita Popov

Add BuilderFactors->args(Add BuilderFactors->args())

7f6477ed28-Apr-2017 Nikita Popov

Combine class/non-class name resolution into single method

56b810e928-Apr-2017 Nikita Popov

Add getShortName() API

PHP's name resolution rules are f'ing complicated.

6168abd927-Apr-2017 Nikita Popov

Extract name resolution logic into NameContext

All the generic name resolution logic is now available as a separate
class with a public API.

888b9dcf27-Apr-2017 Nikita Popov

Drop misspellt class constant

e1ab922727-Apr-2017 Nikita Popov

Allow tests without assertions

3c44785e27-Apr-2017 Ekin

Bump phpunit version (#381)

8635365a26-Apr-2017 Nikita Popov

Fix some typing issues

ceaed32e26-Apr-2017 Nikita Popov

Fix typo in method name

fba6139024-Apr-2017 Nikita Popov

Use null-coalesce operator

7bdb55f924-Apr-2017 Nikita Popov

Another try at HHVM

b353016524-Apr-2017 Nikita Popov

Try to enable php7 mode for hhvm on travis

60f1504924-Apr-2017 Nikita Popov

Drop emulative lexer implementation

Nothing to emulate anymore... Revert this commit when something
turns up.

aa75838a24-Apr-2017 Nikita Popov

Bump minimum PHP version to 7.0

5f7070e924-Apr-2017 Nikita Popov

Added BuilderFactory->concat() method

8f40eec124-Apr-2017 Nikita Popov

Add BuilderFactory->val() method

e4f493cd24-Apr-2017 Nikita Popov

Replace func_get_args() with variadics

We're on PHP 5.6 now, so can do this...

7419649e24-Apr-2017 Nikita Popov

Change BuilderAbstract into BuilderHelpers static class

Used as poor man's function namespace here.

6b6c903524-Apr-2017 Nikita Popov

Kill the BuilderAbstract::$flags property

Instead pass and return the flags explicitly.

9dc93aaf22-Apr-2017 Andreev Sergey

Add ClassMethod::isMagic() method

ba85da8819-Apr-2017 Nikita Popov

Merge branch '3.x'


901b895c19-Apr-2017 Nikita Popov

Fix spelling of VISIBILITY_MODIFIER_MASK

55be521f19-Apr-2017 Nikita Popov

Merge branch '3.x'

Conflicts:
lib/PhpParser/Builder/Param.php


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