public interface ILeafElementType
An additional interface to be implemented by
IElementType instances to allow customizing how leaf AST elements are created
for tokens of this type. By default, plain LeafElement instances would be created. Implementing this interface only makes sense
if you want to override some methods in LeafElement.- 另请参阅:
-
方法概要
修饰符和类型方法说明@NotNull ASTNodecreateLeafNode(@NotNull CharSequence leafText) Invoked byPsiBuilderto create a leaf AST node based of this type.
-
方法详细资料
-
createLeafNode
Invoked byPsiBuilderto create a leaf AST node based of this type.- 返回:
- a LeafElement object with the given text
-