public interface ICustomParsingType
IElementType instances for tokens which are more convenient to parse separately.
Parsing is done when leaf elements are created.
Use this for cases similar to ILazyParseableElementType, but when its default implementation isn't sufficient.
For example, default lazy-parseable elements can't be stub-based (see IStubElementType),
while ICustomParsingType gives you flexibility to achieve that in conjunction with ILazyParseableElementTypeBase.| Modifier and Type | Method and Description |
|---|---|
ASTNode |
parse(java.lang.CharSequence text,
CharTable table)
Invoked by
PsiBuilder when it finds a token of this type,
instead of creating the leaf element for it in a default way. |
ASTNode parse(java.lang.CharSequence text, CharTable table)
PsiBuilder when it finds a token of this type,
instead of creating the leaf element for it in a default way.text - token texttable - CharTable object used for interning string in the file