public class FileElement extends LazyParseableElement implements FileASTNode, Getter<FileElement>
Iconable.IconFlags, Iconable.LastComputedIcon| Modifier and Type | Field and Description |
|---|---|
static FileElement[] |
EMPTY_ARRAY |
FLAGS_LOCKED, ICON_PLACEHOLDERICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description |
|---|
FileElement(IElementType type,
java.lang.CharSequence text) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
ASTNode |
copyElement()
Creates a copy of the entire AST tree containing this node and returns a counterpart
of this node in the resulting tree.
|
protected PsiElement |
createPsiNoLock() |
void |
detachFromFile() |
FileElement |
get() |
CharTable |
getCharTable() |
LighterAST |
getLighterAST() |
PsiManagerEx |
getManager() |
AstSpine |
getStubbedSpine() |
void |
setCharTable(CharTable table) |
copyTo, getChars, getFirstChildNode, getLastChildNode, getText, getTextLength, hc, isParsed, rawAddChildrenWithoutNotifications, setParsingAllowed, textMatchesacceptTree, addChild, addChild, addChildren, addInternal, addLeaf, clone, countChildren, deleteChildInternal, findChildByRole, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getChildRole, getPsi, getPsi, rawAddChildren, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceChildInternal, setPsi, subtreeChanged, textContains, textToCharArrayequals, getElementType, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches, toStringbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisParsedaddChild, addChild, addChildren, addLeaf, clone, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, getChars, getChildren, getCopyableUserData, getElementType, getFirstChildNode, getLastChildNode, getPsi, getPsi, getStartOffset, getStartOffsetInParent, getText, getTextLength, getTextRange, getTreeNext, getTreeParent, getTreePrev, putCopyableUserData, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, textContainsgetUserData, putUserDatapublic static final FileElement[] EMPTY_ARRAY
public FileElement(IElementType type, java.lang.CharSequence text)
protected PsiElement createPsiNoLock()
createPsiNoLock in class CompositeElementpublic void detachFromFile()
public CharTable getCharTable()
getCharTable in interface FileASTNodepublic LighterAST getLighterAST()
getLighterAST in interface FileASTNodepublic PsiManagerEx getManager()
getManager in class TreeElementpublic ASTNode copyElement()
ASTNodecopyElement in interface ASTNodecopyElement in class TreeElementpublic void setCharTable(CharTable table)
public FileElement get()
get in interface Getter<FileElement>public void clearCaches()
clearCaches in class LazyParseableElementpublic final AstSpine getStubbedSpine()