public class IFileElementType extends ILazyParseableElementType
PsiFile
.IElementType.Predicate
LANGUAGE_KEY
ARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE
Constructor and Description |
---|
IFileElementType(Language language) |
IFileElementType(java.lang.String debugName,
Language language) |
IFileElementType(java.lang.String debugName,
Language language,
boolean register)
Allows to construct file element types without registering them, as in
IElementType(String, Language, boolean) . |
Modifier and Type | Method and Description |
---|---|
ASTNode |
parseContents(ASTNode chameleon)
Parses the contents of the specified chameleon node and returns the AST tree
representing the parsed contents.
|
createNode, doParseContents, getLanguageForParser, parseLight, reuseCollapsedTokens
enumerate, find, getIndex, getLanguage, hashCode, isLeftBound, toString, unregisterElementTypes, unregisterElementTypes
public IFileElementType(Language language)
public IFileElementType(java.lang.String debugName, Language language)
public IFileElementType(java.lang.String debugName, Language language, boolean register)
IElementType(String, Language, boolean)
.public ASTNode parseContents(ASTNode chameleon)
ILazyParseableElementType
parseContents
in interface ILazyParseableElementTypeBase
parseContents
in class ILazyParseableElementType
chameleon
- the node to parse.