public static class JavaElementType.ICodeBlockElementType extends IErrorCounterReparseableElementType implements ICompositeElementType, ILightLazyParseableElementType
IElementType.PredicateFATAL_ERROR, NO_ERRORSLANGUAGE_KEYARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE| Modifier and Type | Method and Description |
|---|---|
ASTNode |
createCompositeNode() |
ASTNode |
createNode(java.lang.CharSequence text) |
int |
getErrorsCount(java.lang.CharSequence seq,
Language fileLanguage,
Project project) |
ASTNode |
parseContents(ASTNode chameleon)
Parses the contents of the specified chameleon node and returns the AST tree
representing the parsed contents.
|
FlyweightCapableTreeStructure<LighterASTNode> |
parseContents(LighterLazyParseableNode chameleon)
Parses the contents of the specified chameleon node and returns the lightweight tree
representing parsed contents.
|
isParsableisParsable, isValidReparsedoParseContents, getLanguageForParser, parseLight, reuseCollapsedTokensenumerate, find, getIndex, getLanguage, hashCode, isLeftBound, toString, unregisterElementTypes, unregisterElementTypesclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitreuseCollapsedTokenspublic ASTNode createNode(java.lang.CharSequence text)
createNode in class ILazyParseableElementTypepublic ASTNode createCompositeNode()
createCompositeNode in interface ICompositeElementTypepublic ASTNode parseContents(ASTNode chameleon)
ILazyParseableElementTypeparseContents in interface ILazyParseableElementTypeBaseparseContents in class ILazyParseableElementTypechameleon - the node to parse.public FlyweightCapableTreeStructure<LighterASTNode> parseContents(LighterLazyParseableNode chameleon)
ILightLazyParseableElementTypeparseContents in interface ILightLazyParseableElementTypechameleon - the node to parse.public int getErrorsCount(java.lang.CharSequence seq,
Language fileLanguage,
Project project)
getErrorsCount in class IErrorCounterReparseableElementType