public class LazyParseableElement extends CompositeElement
Iconable.IconFlags, Iconable.LastComputedIconEMPTY_ARRAYFLAGS_LOCKED, ICON_PLACEHOLDERICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY| Constructor and Description |
|---|
LazyParseableElement(IElementType type,
java.lang.CharSequence text) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
int |
copyTo(char [] buffer,
int start) |
java.lang.CharSequence |
getChars()
Returns same text getText() returns but might be more effective eliminating toString() transformation from internal CharSequence representation
|
TreeElement |
getFirstChildNode()
Returns the first child of this node in the tree.
|
TreeElement |
getLastChildNode()
Returns the last child of this node in the tree.
|
java.lang.String |
getText()
Returns the text of this node.
|
int |
getTextLength()
Returns the length of the node text.
|
int |
hc() |
boolean |
isParsed() |
void |
rawAddChildrenWithoutNotifications(TreeElement first) |
static void |
setParsingAllowed(boolean allowed) |
protected int |
textMatches(java.lang.CharSequence buffer,
int start) |
acceptTree, addChild, addChild, addChildren, addInternal, addLeaf, clone, countChildren, createPsiNoLock, 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, textToCharArraycopyElement, equals, getElementType, getManager, 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, waitgetCopyableUserData, putCopyableUserDatagetUserData, putUserDatapublic LazyParseableElement(IElementType type, java.lang.CharSequence text)
public void clearCaches()
clearCaches in class CompositeElementpublic java.lang.String getText()
ASTNodegetText in interface ASTNodegetText in class CompositeElementpublic java.lang.CharSequence getChars()
ASTNodegetChars in interface ASTNodegetChars in class CompositeElementPsiElement.textMatches(java.lang.CharSequence),
ASTNode.textContains(char)public int getTextLength()
ASTNodegetTextLength in interface ASTNodegetTextLength in class CompositeElementpublic int hc()
hc in class CompositeElementprotected int textMatches(java.lang.CharSequence buffer,
int start)
textMatches in class CompositeElementpublic boolean isParsed()
public void rawAddChildrenWithoutNotifications(TreeElement first)
rawAddChildrenWithoutNotifications in class CompositeElementpublic TreeElement getFirstChildNode()
ASTNodegetFirstChildNode in interface ASTNodegetFirstChildNode in class CompositeElementpublic TreeElement getLastChildNode()
ASTNodegetLastChildNode in interface ASTNodegetLastChildNode in class CompositeElementpublic int copyTo(char [] buffer,
int start)
public static void setParsingAllowed(boolean allowed)