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.- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull ASTNodecreateLeafNode(@NotNull CharSequence leafText) Invoked byPsiBuilderto create a leaf AST node based of this type.
-
Method Details
-
createLeafNode
Invoked byPsiBuilderto create a leaf AST node based of this type.- Returns:
- a LeafElement object with the given text
-