public abstract class IErrorCounterReparseableElementType extends IReparseableElementType
IElementType.Predicate| Modifier and Type | Field and Description |
|---|---|
static int |
FATAL_ERROR |
static int |
NO_ERRORS |
LANGUAGE_KEYARRAY_FACTORY, EMPTY_ARRAY, FIRST_TOKEN_INDEX, TRUE| Constructor and Description |
|---|
IErrorCounterReparseableElementType(java.lang.String debugName,
Language language) |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getErrorsCount(java.lang.CharSequence seq,
Language fileLanguage,
Project project) |
boolean |
isParsable(java.lang.CharSequence buffer,
Language fileLanguage,
Project project)
Checks if the specified character sequence can be parsed as a valid content of the
chameleon node.
|
isParsable, isValidReparsecreateNode, doParseContents, getLanguageForParser, parseContents, parseLight, reuseCollapsedTokensenumerate, find, getIndex, getLanguage, hashCode, isLeftBound, toString, unregisterElementTypes, unregisterElementTypesclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitparseContents, reuseCollapsedTokenspublic static final int NO_ERRORS
public static final int FATAL_ERROR
public IErrorCounterReparseableElementType(java.lang.String debugName,
Language language)
public abstract int getErrorsCount(java.lang.CharSequence seq,
Language fileLanguage,
Project project)
public boolean isParsable(java.lang.CharSequence buffer,
Language fileLanguage,
Project project)
IReparseableElementTypeisParsable in class IReparseableElementTypebuffer - the content to parse.fileLanguage - language of the fileproject - the project containing the content.