You've already forked MyDSL
PHPDoc
This commit is contained in:
@ -15,11 +15,11 @@ use JerryYan\DSL\Token\TokenUndefined;
|
||||
|
||||
abstract class FactoryInterface
|
||||
{
|
||||
/** @var array<string, \JerryYan\DSL\Token\TokenInterface> Token类型及映射类 */
|
||||
/** @var array<string, class-string<TokenInterface>> Token类型及映射类 */
|
||||
protected $tokenMap = [];
|
||||
/** @var array<string, string> Token别名映射 */
|
||||
protected $tokenNameMap = [];
|
||||
/** @var \JerryYan\DSL\Token\TokenInterface 默认Token类 */
|
||||
/** @var class-string<TokenInterface> 默认Token类 */
|
||||
protected $undefinedTokenClass = TokenUndefined::class;
|
||||
|
||||
public function getTokenByName(string $name): TokenInterface
|
||||
|
Reference in New Issue
Block a user