Special syntax in PhpDoc


we need functionality to process double brackets as @see annotation in PhpDoc. For example instead @see class::method we want to have [[class::method]] . This method is used in Yii framework and we want to implement so reference in brackets would be link to class or class member.

How it could be implemented in plugin for PhpStorm. What direction should I move?

As I understand right now we need to implement simple lexer. But how connect it to Php parser. Or we could do just simple parser like it is done for @see annotation. Or there is some other way. 


Please sign in to leave a comment.