You've already forked MyDSL
模式修改
This commit is contained in:
@@ -9,7 +9,19 @@
|
||||
namespace JerryYan\DSL\Grammar;
|
||||
|
||||
|
||||
abstract class GrammarInterface
|
||||
interface GrammarInterface
|
||||
{
|
||||
/**
|
||||
* @return array<string, class-string>
|
||||
* @author Jerry Yan <792602257@qq.com>
|
||||
* @date 2021/1/26 16:27
|
||||
*/
|
||||
public function getTokenTypes(): array;
|
||||
|
||||
/**
|
||||
* @return class-string
|
||||
* @author Jerry Yan <792602257@qq.com>
|
||||
* @date 2021/1/26 16:27
|
||||
*/
|
||||
public function getUndefinedTokenType(): string;
|
||||
}
|
Reference in New Issue
Block a user