public class JetSimpleNameExpression extends JetReferenceExpression
| Modifier and Type | Field and Description |
|---|---|
static com.intellij.psi.tree.TokenSet |
REFERENCE_TOKENS |
| Constructor and Description |
|---|
JetSimpleNameExpression(com.intellij.lang.ASTNode node) |
| Modifier and Type | Method and Description |
|---|---|
<R,D> R |
accept(JetVisitor<R,D> visitor,
D data) |
void |
accept(JetVisitorVoid visitor) |
protected JetExpression |
findExpressionUnder(JetNodeType type) |
com.intellij.psi.PsiElement |
getIdentifier() |
JetExpression |
getReceiverExpression()
null if it's not a code expression
|
com.intellij.psi.PsiReference |
getReference() |
java.lang.String |
getReferencedName() |
Name |
getReferencedNameAsName() |
com.intellij.psi.PsiElement |
getReferencedNameElement() |
com.intellij.psi.tree.IElementType |
getReferencedNameElementType() |
com.intellij.psi.PsiReference[] |
getReferences() |
boolean |
isImportDirectiveExpression() |
accept, acceptChildren, getLanguage, toStringadd, addAfter, addBefore, addInternal, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildInternal, deleteChildRange, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByFilter, findNotNullChildByType, findNotNullChildByType, getChildren, getCopyableUserData, getFirstChild, getLastChild, getManager, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, putCopyableUserData, replace, replaceChildInternal, subtreeChanged, textContains, textToCharArrayacceptChildren, canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContainingFile, getContext, getName, getNavigationElement, getOriginalElement, getPresentation, getProject, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, notNullChild, processDeclarations, textMatches, textMatchesbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagsclearUserData, clone, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, isUserDataEmpty, putUserData, putUserDataIfAbsent, replaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptChildrenaccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toStringpublic static final com.intellij.psi.tree.TokenSet REFERENCE_TOKENS
public JetSimpleNameExpression(@NotNull com.intellij.lang.ASTNode node)
@Nullable public JetExpression getReceiverExpression()
public boolean isImportDirectiveExpression()
@NotNull public java.lang.String getReferencedName()
@NotNull public Name getReferencedNameAsName()
@NotNull public com.intellij.psi.PsiElement getReferencedNameElement()
@Nullable public com.intellij.psi.PsiElement getIdentifier()
@Nullable public com.intellij.psi.tree.IElementType getReferencedNameElementType()
@NotNull public com.intellij.psi.PsiReference[] getReferences()
getReferences in interface com.intellij.psi.PsiElementgetReferences in class com.intellij.psi.impl.PsiElementBase@Nullable public com.intellij.psi.PsiReference getReference()
getReference in interface com.intellij.psi.PsiElementgetReference in class com.intellij.psi.impl.PsiElementBasepublic void accept(@NotNull JetVisitorVoid visitor)
accept in interface JetElementaccept in interface JetExpressionpublic <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept in interface JetElementaccept in interface JetExpressionprotected JetExpression findExpressionUnder(JetNodeType type)