repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/SendEmailMock.php
tests/Benchmark/BasicImplementation/SendEmailMock.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation; final class SendEmailMock { private static int $count = 0; public static function send(): void { self::$count++; } public static function count(): int { return self::$count...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/ProfileWithCommands.php
tests/Benchmark/BasicImplementation/ProfileWithCommands.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation; use Patchlevel\EventSourcing\Aggregate\BasicAggregateRoot; use Patchlevel\EventSourcing\Attribute\Aggregate; use Patchlevel\EventSourcing\Attribute\Apply; use Patchlevel\EventSourcing\Attribute\Handle; use Patchlev...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/ProfileId.php
tests/Benchmark/BasicImplementation/ProfileId.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation; use Patchlevel\EventSourcing\Aggregate\AggregateRootId; use Patchlevel\EventSourcing\Aggregate\RamseyUuidV7Behaviour; final class ProfileId implements AggregateRootId { use RamseyUuidV7Behaviour; }
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Processor/SendEmailProcessor.php
tests/Benchmark/BasicImplementation/Processor/SendEmailProcessor.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Processor; use Patchlevel\EventSourcing\Attribute\Processor; use Patchlevel\EventSourcing\Attribute\Subscribe; use Patchlevel\EventSourcing\Message\Message; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplemen...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Query/QueryProfileName.php
tests/Benchmark/BasicImplementation/Query/QueryProfileName.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Query; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; final readonly class QueryProfileName { public function __construct(public ProfileId $id) { } }
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Projection/BatchProfileProjector.php
tests/Benchmark/BasicImplementation/Projection/BatchProfileProjector.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Projection; use Doctrine\DBAL\Connection; use Patchlevel\EventSourcing\Attribute\Projector; use Patchlevel\EventSourcing\Attribute\Setup; use Patchlevel\EventSourcing\Attribute\Subscribe; use Patchlevel\EventSourcin...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Projection/ProfileProjector.php
tests/Benchmark/BasicImplementation/Projection/ProfileProjector.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Projection; use Doctrine\DBAL\Connection; use Patchlevel\EventSourcing\Attribute\Answer; use Patchlevel\EventSourcing\Attribute\Projector; use Patchlevel\EventSourcing\Attribute\Setup; use Patchlevel\EventSourcing\A...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Events/ProfileCreated.php
tests/Benchmark/BasicImplementation/Events/ProfileCreated.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Events; use Patchlevel\EventSourcing\Attribute\Event; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; use Patchlevel\Hydrator\Attribute\DataSubjectId; use Patchlevel\Hydrator\Attribute\Pe...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Events/EmailChanged.php
tests/Benchmark/BasicImplementation/Events/EmailChanged.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Events; use Patchlevel\EventSourcing\Attribute\Event; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; use Patchlevel\Hydrator\Attribute\DataSubjectId; use Patchlevel\Hydrator\Attribute\Pe...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Events/Reborn.php
tests/Benchmark/BasicImplementation/Events/Reborn.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Events; use Patchlevel\EventSourcing\Attribute\Event; use Patchlevel\EventSourcing\Attribute\SplitStream; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; #[Event('profile.reborn')] #[Spl...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Events/NameChanged.php
tests/Benchmark/BasicImplementation/Events/NameChanged.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Events; use Patchlevel\EventSourcing\Attribute\Event; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; #[Event('profile.name_changed')] final readonly class NameChanged { public funct...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Command/CreateProfile.php
tests/Benchmark/BasicImplementation/Command/CreateProfile.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Command; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; final class CreateProfile { public function __construct( public readonly ProfileId $id, public readonly strin...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
patchlevel/event-sourcing
https://github.com/patchlevel/event-sourcing/blob/183a44ce065b249fae92725ba5af56f01335ac88/tests/Benchmark/BasicImplementation/Command/ChangeProfileName.php
tests/Benchmark/BasicImplementation/Command/ChangeProfileName.php
<?php declare(strict_types=1); namespace Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\Command; use Patchlevel\EventSourcing\Attribute\Id; use Patchlevel\EventSourcing\Tests\Benchmark\BasicImplementation\ProfileId; final class ChangeProfileName { public function __construct( #[Id] ...
php
MIT
183a44ce065b249fae92725ba5af56f01335ac88
2026-01-05T02:54:16.927404Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/bootstrap.php
test/bootstrap.php
<?php $ds = DIRECTORY_SEPARATOR; $paths = array( ".." . $ds . "vendor", ".." . $ds . ".." . $ds . ".." ); foreach ($paths as $path) { $abspath = __DIR__ . $ds . $path . $ds . "autoload.php"; if (file_exists($abspath)) { require_once $abspath; break; } }
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/RendererTest.php
test/Peast/RendererTest.php
<?php namespace Peast\test; class RendererTest extends TestBase { protected function getTestVersions() { return array( "ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021", "ES2022", "ES2023", "ES2024", "ES2025" ); } public functi...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/TraverserTest.php
test/Peast/TraverserTest.php
<?php namespace Peast\test; use Peast\Traverser; use Peast\Syntax\Node; class TraverserTest extends TestBase { public function testModifyNodes() { $source = "var a = 1, b = 'c', d = false, e = [], f = /foo/;"; $tree = \Peast\Peast::latest($source) ->parse() ->tr...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/TestBase.php
test/Peast/TestBase.php
<?php namespace Peast\test; abstract class TestBase extends TestCaseBase { const JS_INVALID = 1; const JS_PARSE = 2; const JS_TOKENIZE = 3; const JS_RENDERER = 4; protected function getTestVersions() {} protected function getExcludedTests() {return array();} pr...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/PeastTest.php
test/Peast/PeastTest.php
<?php namespace Peast\test; class PeastTest extends TestBase { public function testES2015() { $this->assertTrue(\Peast\Peast::ES2015("")->getFeatures() instanceof \Peast\Syntax\ES2015\Features); $this->assertTrue(\Peast\Peast::ES6("")->getFeatures() instanceof \Peast\Syntax\ES2015\Features); ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/QueryTest.php
test/Peast/QueryTest.php
<?php namespace Peast\test; use Peast\Syntax\Node\Expression; use Peast\Syntax\Node\Declaration; use Peast\Syntax\Node\Pattern; use Peast\Syntax\Node\Statement; class QueryTest extends TestBase { protected function getTree() { $source = " var a = 1, b = 2, c = 3; var d = 4, e =...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/TestParser.php
test/Peast/TestParser.php
<?php namespace Peast\test; abstract class TestParser extends TestBase { protected function compareJSFile($tree, $compareFile, $tokens = false) { $compareTree = json_decode(file_get_contents($compareFile)); $origTree = json_decode(json_encode($tree)); $this->objectTestRecursive($compar...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/TestCaseBase.php
test/Peast/TestCaseBase.php
<?php /** @noinspection PhpDeprecationInspection */ namespace Peast\test; if (class_exists("\PHPUnit\Framework\TestCase")) { if (method_exists('\PHPUnit\Framework\TestCase', 'expectException')) { abstract class TestCaseBase extends \PHPUnit\Framework\TestCase{} } else { abstract class TestCase...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/CommentsRegistryTest.php
test/Peast/Syntax/CommentsRegistryTest.php
<?php namespace Peast\test\Syntax; use Peast\Syntax\Node\Comment; use Peast\Syntax\Token; use Peast\test\TestBase; class CommentsRegistryTest extends TestBase { public function dataProvider() { return array( array( array( "source" => implode("\n", array(...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
true
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ScannerTest.php
test/Peast/Syntax/ScannerTest.php
<?php namespace Peast\test\Syntax; use Peast\test\TestBase; class ScannerTest extends TestBase { public function testSourceEncodingConversion() { if (function_exists("mb_convert_encoding")) { $UTF8Char = chr(0xc2) . chr(0xb0); $encoding = "UTF-16BE"; $source = mb_co...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2022/ES2022Test.php
test/Peast/Syntax/ES2022/ES2022Test.php
<?php namespace Peast\test\Syntax\ES2022; class ES2022Test extends \Peast\test\Syntax\ES2021\ES2021Test { protected $parser = "ES2022"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021", "ES2022"); } protected func...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2015/ES2015Test.php
test/Peast/Syntax/ES2015/ES2015Test.php
<?php namespace Peast\test\Syntax\ES2015; use Peast\Syntax\Utils; class ES2015Test extends \Peast\test\TestParser { protected $parser = "ES2015"; protected function getTestVersions() { return array("ES2015"); } public function testParseEmptySource() { $tree = \Peast\P...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2017/ES2017Test.php
test/Peast/Syntax/ES2017/ES2017Test.php
<?php namespace Peast\test\Syntax\ES2017; class ES2017Test extends \Peast\test\Syntax\ES2016\ES2016Test { protected $parser = "ES2017"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017"); } protected function getExcludedTests() { return a...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2021/ES2021Test.php
test/Peast/Syntax/ES2021/ES2021Test.php
<?php namespace Peast\test\Syntax\ES2021; class ES2021Test extends \Peast\test\Syntax\ES2020\ES2020Test { protected $parser = "ES2021"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021"); } }
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2024/ES2024Test.php
test/Peast/Syntax/ES2024/ES2024Test.php
<?php namespace Peast\test\Syntax\ES2024; class ES2024Test extends \Peast\test\Syntax\ES2023\ES2023Test { protected $parser = "ES2024"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021", "ES2022", "ES2023", "ES2024"); }...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/StringLiteralTest.php
test/Peast/Syntax/Node/StringLiteralTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class StringLiteralTest extends TestBase { public function testValue() { $node = new Node\StringLiteral; $node->setValue('abc"def'); $this->assertEquals('abc"def', $node->getValue()); ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/NullLiteralTest.php
test/Peast/Syntax/Node/NullLiteralTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class NullLiteralTest extends TestBase { public function testValue() { $node = new Node\NullLiteral; $this->assertEquals(null, $node->getValue()); $this->assertEquals("null", $node->getRaw(...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/NumericLiteralTest.php
test/Peast/Syntax/Node/NumericLiteralTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class NumericLiteralTest extends TestBase { public function testValue() { $node = new Node\NumericLiteral; $node->setValue(123); $this->assertEquals(123, $node->getValue()); $this->...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/CommentTest.php
test/Peast/Syntax/Node/CommentTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class CommentTest extends TestBase { public function testAddComments() { $node = new Node\Comment; $node2 = new Node\Comment; $node->setLeadingComments(array($node2)); $node->setTra...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/BooleanLiteralTest.php
test/Peast/Syntax/Node/BooleanLiteralTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class BooleanLiteralTest extends TestBase { public function testValue() { $node = new Node\BooleanLiteral; $node->setValue(true); $this->assertEquals(true, $node->getValue()); $this...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/Node/IdentifierTest.php
test/Peast/Syntax/Node/IdentifierTest.php
<?php namespace Peast\test\Syntax\Node; use Peast\Syntax\Node; use Peast\test\TestBase; class IdentifierTest extends TestBase { public function testValue() { $node = new Node\Identifier; $node->setName('test'); $this->assertEquals('test', $node->getName()); $this->asse...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2019/ES2019Test.php
test/Peast/Syntax/ES2019/ES2019Test.php
<?php namespace Peast\test\Syntax\ES2019; class ES2019Test extends \Peast\test\Syntax\ES2018\ES2018Test { protected $parser = "ES2019"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019"); } protected function getExcludedTests() ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2020/ES2020Test.php
test/Peast/Syntax/ES2020/ES2020Test.php
<?php namespace Peast\test\Syntax\ES2020; class ES2020Test extends \Peast\test\Syntax\ES2019\ES2019Test { protected $parser = "ES2020"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020"); } }
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2016/ES2016Test.php
test/Peast/Syntax/ES2016/ES2016Test.php
<?php namespace Peast\test\Syntax\ES2016; class ES2016Test extends \Peast\test\Syntax\ES2015\ES2015Test { protected $parser = "ES2016"; protected function getTestVersions() { return array("ES2015", "ES2016"); } }
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2018/ES2018Test.php
test/Peast/Syntax/ES2018/ES2018Test.php
<?php namespace Peast\test\Syntax\ES2018; class ES2018Test extends \Peast\test\Syntax\ES2017\ES2017Test { protected $parser = "ES2018"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018"); } protected function getExcludedTests() { ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2025/ES2025Test.php
test/Peast/Syntax/ES2025/ES2025Test.php
<?php namespace Peast\test\Syntax\ES2025; class ES2025Test extends \Peast\test\Syntax\ES2024\ES2024Test { protected $parser = "ES2025"; protected function getTestVersions() { return array( "ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021", "ES2022", "...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/test/Peast/Syntax/ES2023/ES2023Test.php
test/Peast/Syntax/ES2023/ES2023Test.php
<?php namespace Peast\test\Syntax\ES2023; class ES2023Test extends \Peast\test\Syntax\ES2022\ES2022Test { protected $parser = "ES2023"; protected function getTestVersions() { return array("ES2015", "ES2016", "ES2017", "ES2018", "ES2019", "ES2020", "ES2021", "ES2022", "ES2023"); } }
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Traverser.php
lib/Peast/Traverser.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast; /** * Nodes traverser class * * @author Marco Marchiò <marco.mm89@gmail.com> *...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Query.php
lib/Peast/Query.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast; /** * Nodes query class * * @author Marco Marchiò <marco.mm89@gmail.com> */ cl...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Renderer.php
lib/Peast/Renderer.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast; use Peast\Syntax\Node\Comment; /** * Nodes renderer class * * @author Marco Ma...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
true
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Peast.php
lib/Peast/Peast.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast; /** * Main class of Peast library. * Every function of this class takes two argum...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Formatter/Base.php
lib/Peast/Formatter/Base.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Formatter; /** * Base class for formatters, all the formatters must extend this cla...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Formatter/Expanded.php
lib/Peast/Formatter/Expanded.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Formatter; /** * Compact formatter. * * @author Marco Marchiò <marco.mm89@gmail....
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Formatter/Compact.php
lib/Peast/Formatter/Compact.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Formatter; /** * Compact formatter. * * @author Marco Marchiò <marco.mm89@gmail....
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Formatter/PrettyPrint.php
lib/Peast/Formatter/PrettyPrint.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Formatter; /** * Pretty print formatter. * * @author Marco Marchiò <marco.mm89@g...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Matches.php
lib/Peast/Selector/Matches.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector; use Peast\Syntax\Node\Node; /** * Selector matches class * * @author ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Exception.php
lib/Peast/Selector/Exception.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector; /** * Selector exception class. Syntax errors in selectors are thrown * ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Parser.php
lib/Peast/Selector/Parser.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector; /** * Selector parser class * * @author Marco Marchiò <marco.mm89@gmai...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Selector.php
lib/Peast/Selector/Node/Selector.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node; use Peast\Selector\Matches; /** * Selector class * * @author Mar...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Combinator.php
lib/Peast/Selector/Node/Combinator.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node; use Peast\Selector\Matches; use Peast\Syntax\Utils; use Peast\Travers...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Group.php
lib/Peast/Selector/Node/Group.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node; use Peast\Selector\Matches; /** * Selector group class * * @auth...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/Type.php
lib/Peast/Selector/Node/Part/Type.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Syntax\Node\Node; /** * Selector part type class * ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/PseudoSelector.php
lib/Peast/Selector/Node/Part/PseudoSelector.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Selector\Matches; use Peast\Selector\Node\Selector; us...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/Part.php
lib/Peast/Selector/Node/Part/Part.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Syntax\Node\Node; /** * Selector part base class * ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/Attribute.php
lib/Peast/Selector/Node/Part/Attribute.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Syntax\Node\Node; use Peast\Syntax\Utils; /** * Sele...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/PseudoIndex.php
lib/Peast/Selector/Node/Part/PseudoIndex.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Syntax\Node\Node; use Peast\Syntax\Utils; /** * Sele...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/Pseudo.php
lib/Peast/Selector/Node/Part/Pseudo.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; /** * Selector pseudo part base class * * @author Marco Marc...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Selector/Node/Part/PseudoSimple.php
lib/Peast/Selector/Node/Part/PseudoSimple.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Selector\Node\Part; use Peast\Syntax\Node\Node; use Peast\Syntax\Node\Pattern; use P...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Token.php
lib/Peast/Syntax/Token.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * A token emitted by the tokenizer. * * @author Marco Marchiò <marco...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/EventsEmitter.php
lib/Peast/Syntax/EventsEmitter.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Events emitter class. An instance of this class is used by Parser and...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Features.php
lib/Peast/Syntax/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Parser features class * * @author Marco Marchiò <marco.mm89@gmail....
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/LSM.php
lib/Peast/Syntax/LSM.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Longest Sequence Matcher. Utility class used by the scanner to consum...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/SourceLocation.php
lib/Peast/Syntax/SourceLocation.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * This class represents a location in the source code with start and en...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/EncodingException.php
lib/Peast/Syntax/EncodingException.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Encoding exception class. Encoding errors while scanning the source a...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ParserAbstract.php
lib/Peast/Syntax/ParserAbstract.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Base class for parsers. * * @author Marco Marchiò <marco.mm89@gmai...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Exception.php
lib/Peast/Syntax/Exception.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Syntax exception class. Syntax errors in the source are thrown using ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Position.php
lib/Peast/Syntax/Position.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * This class represents the position in the source code. * * @author...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Scanner.php
lib/Peast/Syntax/Scanner.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Base class for scanners. * * @author Marco Marchiò <marco.mm89@gma...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
true
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Utils.php
lib/Peast/Syntax/Utils.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Utilities class. * * @author Marco Marchiò <marco.mm89@gmail.com> ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Parser.php
lib/Peast/Syntax/Parser.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Parser class * * @author Marco Marchiò <marco.mm89@gmail.com> */ ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
true
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/CommentsRegistry.php
lib/Peast/Syntax/CommentsRegistry.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax; /** * Comments registry class. Internal class used to manage comments * ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ES2022/Features.php
lib/Peast/Syntax/ES2022/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\ES2022; /** * ES2022 features class * * @author Marco Marchiò <marco.mm89...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ES2015/Features.php
lib/Peast/Syntax/ES2015/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\ES2015; /** * ES2015 features class * * @author Marco Marchiò <marco.mm89...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ES2017/Features.php
lib/Peast/Syntax/ES2017/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\ES2017; /** * ES2017 features class * * @author Marco Marchiò <marco.mm89...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ES2021/Features.php
lib/Peast/Syntax/ES2021/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\ES2021; /** * ES2021 features class * * @author Marco Marchiò <marco.mm89...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/ES2024/Features.php
lib/Peast/Syntax/ES2024/Features.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\ES2024; /** * ES2024 features class * * @author Marco Marchiò <marco.mm89...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/AssignmentProperty.php
lib/Peast/Syntax/Node/AssignmentProperty.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a property in an object binding pattern. ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/RestElement.php
lib/Peast/Syntax/Node/RestElement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents the rest element in array binding pattern...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ClassDeclaration.php
lib/Peast/Syntax/Node/ClassDeclaration.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a class declaration. * For example: clas...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ImportAttribute.php
lib/Peast/Syntax/Node/ImportAttribute.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a key value pair for an import attribute....
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ParenthesizedExpression.php
lib/Peast/Syntax/Node/ParenthesizedExpression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents an expression wrapped in round brackets. ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/BreakStatement.php
lib/Peast/Syntax/Node/BreakStatement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents the "break" statement inside loops. * ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/SpreadElement.php
lib/Peast/Syntax/Node/SpreadElement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents the spread element in array literals or f...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ObjectPattern.php
lib/Peast/Syntax/Node/ObjectPattern.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents an object binding pattern. * For example...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/Class_.php
lib/Peast/Syntax/Node/Class_.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * Abstract class for classes. * * @author Marco Marchiò <marco....
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/YieldExpression.php
lib/Peast/Syntax/Node/YieldExpression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a yield statement. * * @author Marco M...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/AwaitExpression.php
lib/Peast/Syntax/Node/AwaitExpression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents an await expression. * * @author Marco...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/LabeledStatement.php
lib/Peast/Syntax/Node/LabeledStatement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a labeled statement. * * @author Marco...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ImportNamespaceSpecifier.php
lib/Peast/Syntax/Node/ImportNamespaceSpecifier.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a default import specifier. * For exampl...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/ContinueStatement.php
lib/Peast/Syntax/Node/ContinueStatement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents the "continue" statement inside loops. *...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/CallExpression.php
lib/Peast/Syntax/Node/CallExpression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a call expression. * For example: test()...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/SwitchStatement.php
lib/Peast/Syntax/Node/SwitchStatement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a switch statement. * For example: switc...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/Expression.php
lib/Peast/Syntax/Node/Expression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * Interface that every expression node must implement. * * @aut...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/UpdateExpression.php
lib/Peast/Syntax/Node/UpdateExpression.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents an update expression. * For example: a++...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/BlockStatement.php
lib/Peast/Syntax/Node/BlockStatement.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents a block of code wrapped in curly braces. ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/CatchClause.php
lib/Peast/Syntax/Node/CatchClause.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; /** * A node that represents the catch clause in a try-catch statement...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false
mck89/peast
https://github.com/mck89/peast/blob/c6a63f32410d2e4ee2cd20fe94b35af147fb852d/lib/Peast/Syntax/Node/Identifier.php
lib/Peast/Syntax/Node/Identifier.php
<?php /** * This file is part of the Peast package * * (c) Marco Marchiò <marco.mm89@gmail.com> * * For the full copyright and license information refer to the LICENSE file * distributed with this source code */ namespace Peast\Syntax\Node; use Peast\Syntax\Utils; /** * A node that represents an identifier. ...
php
BSD-3-Clause
c6a63f32410d2e4ee2cd20fe94b35af147fb852d
2026-01-05T02:54:18.693779Z
false