TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
434 B
21 lines
434 B
<?php
|
|
/**
|
|
* This file is part of TypePHP.
|
|
*
|
|
* @link https://www.swoole.com/
|
|
* @contact service@swoole.com
|
|
*/
|
|
|
|
namespace TypePhp\Resolver;
|
|
|
|
use TypePhp\Entity\ClassDef;
|
|
use PhpParser\NodeAbstract;
|
|
|
|
interface PropertyAccessContext
|
|
{
|
|
public function getClassDef(string $name): ?ClassDef;
|
|
|
|
public function getParentClass(string $class): string;
|
|
|
|
public function fatalError(NodeAbstract $node, string $msg): never;
|
|
}
|
|
|