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_PLACEHOLDER
ICON_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, textMatches
acceptTree, 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, textToCharArray
equals, getElementType, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches, toString
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isParsed
addChild, 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, textContains
getUserData, putUserData
public static final FileElement[] EMPTY_ARRAY
public FileElement(IElementType type, java.lang.CharSequence text)
protected PsiElement createPsiNoLock()
createPsiNoLock
in class CompositeElement
public void detachFromFile()
public CharTable getCharTable()
getCharTable
in interface FileASTNode
public LighterAST getLighterAST()
getLighterAST
in interface FileASTNode
public PsiManagerEx getManager()
getManager
in class TreeElement
public ASTNode copyElement()
ASTNode
copyElement
in interface ASTNode
copyElement
in class TreeElement
public void setCharTable(CharTable table)
public FileElement get()
get
in interface Getter<FileElement>
public void clearCaches()
clearCaches
in class LazyParseableElement
public final AstSpine getStubbedSpine()