trait ScopeNode extends PsiElement
This interface acts as a tag so that we can identify nodes in the PSI tree that represent symbol scopes. For example, in a simple language like C with globals, functions, arguments, and local blocks you could create a PSI tree with heterogeneous node types such as FileSubtree, FunctionSubtree, BlockSubtree, etc... Each of those should implement this interface. If you use this mechanism, then the default getContext() mechanism will work; given a node, it looks upward in the PSI tree for a node that implements ScopeNode.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScopeNode
- PsiElement
- Iconable
- UserDataHolder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def accept(arg0: PsiElementVisitor): Unit
- Definition Classes
- PsiElement
- abstract def acceptChildren(arg0: PsiElementVisitor): Unit
- Definition Classes
- PsiElement
- abstract def add(arg0: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def addAfter(arg0: PsiElement, arg1: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def addBefore(arg0: PsiElement, arg1: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def addRange(arg0: PsiElement, arg1: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def addRangeAfter(arg0: PsiElement, arg1: PsiElement, arg2: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def addRangeBefore(arg0: PsiElement, arg1: PsiElement, arg2: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def copy(): PsiElement
- Definition Classes
- PsiElement
- abstract def delete(): Unit
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def deleteChildRange(arg0: PsiElement, arg1: PsiElement): Unit
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def findElementAt(arg0: Int): PsiElement
- Definition Classes
- PsiElement
- abstract def findReferenceAt(arg0: Int): PsiReference
- Definition Classes
- PsiElement
- abstract def getChildren(): Array[PsiElement]
- Definition Classes
- PsiElement
- abstract def getContainingFile(): PsiFile
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.psi.PsiInvalidElementAccessException])
- abstract def getContext(): ScopeNode
- Definition Classes
- ScopeNode → PsiElement
- Annotations
- @Nullable() @Override()
- abstract def getCopyableUserData[T <: AnyRef](arg0: Key[T]): T
- Definition Classes
- PsiElement
- abstract def getFirstChild(): PsiElement
- Definition Classes
- PsiElement
- abstract def getIcon(arg0: Int): Icon
- Definition Classes
- Iconable
- abstract def getLanguage(): Language
- Definition Classes
- PsiElement
- abstract def getLastChild(): PsiElement
- Definition Classes
- PsiElement
- abstract def getManager(): PsiManager
- Definition Classes
- PsiElement
- abstract def getNavigationElement(): PsiElement
- Definition Classes
- PsiElement
- abstract def getNextSibling(): PsiElement
- Definition Classes
- PsiElement
- abstract def getNode(): ASTNode
- Definition Classes
- PsiElement
- abstract def getOriginalElement(): PsiElement
- Definition Classes
- PsiElement
- abstract def getParent(): PsiElement
- Definition Classes
- PsiElement
- abstract def getPrevSibling(): PsiElement
- Definition Classes
- PsiElement
- abstract def getProject(): Project
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.psi.PsiInvalidElementAccessException])
- abstract def getReference(): PsiReference
- Definition Classes
- PsiElement
- abstract def getReferences(): Array[PsiReference]
- Definition Classes
- PsiElement
- abstract def getResolveScope(): GlobalSearchScope
- Definition Classes
- PsiElement
- abstract def getStartOffsetInParent(): Int
- Definition Classes
- PsiElement
- abstract def getText(): String
- Definition Classes
- PsiElement
- abstract def getTextLength(): Int
- Definition Classes
- PsiElement
- abstract def getTextOffset(): Int
- Definition Classes
- PsiElement
- abstract def getTextRange(): TextRange
- Definition Classes
- PsiElement
- abstract def getUseScope(): SearchScope
- Definition Classes
- PsiElement
- abstract def getUserData[T <: AnyRef](arg0: Key[T]): T
- Definition Classes
- UserDataHolder
- abstract def isEquivalentTo(arg0: PsiElement): Boolean
- Definition Classes
- PsiElement
- abstract def isPhysical(): Boolean
- Definition Classes
- PsiElement
- abstract def isValid(): Boolean
- Definition Classes
- PsiElement
- abstract def isWritable(): Boolean
- Definition Classes
- PsiElement
- abstract def processDeclarations(arg0: PsiScopeProcessor, arg1: ResolveState, arg2: PsiElement, arg3: PsiElement): Boolean
- Definition Classes
- PsiElement
- abstract def putCopyableUserData[T <: AnyRef](arg0: Key[T], arg1: T): Unit
- Definition Classes
- PsiElement
- abstract def putUserData[T <: AnyRef](arg0: Key[T], arg1: T): Unit
- Definition Classes
- UserDataHolder
- abstract def replace(arg0: PsiElement): PsiElement
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException])
- abstract def resolve(element: PsiNamedElement): PsiElement
- Annotations
- @Nullable()
- abstract def textContains(arg0: Char): Boolean
- Definition Classes
- PsiElement
- abstract def textMatches(arg0: PsiElement): Boolean
- Definition Classes
- PsiElement
- abstract def textMatches(arg0: CharSequence): Boolean
- Definition Classes
- PsiElement
- abstract def textToCharArray(): Array[Char]
- Definition Classes
- PsiElement
- abstract def checkAdd(arg0: PsiElement): Unit
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException]) @Deprecated
- Deprecated
- abstract def checkDelete(): Unit
- Definition Classes
- PsiElement
- Annotations
- @throws(classOf[com.intellij.util.IncorrectOperationException]) @Deprecated
- Deprecated
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getOwnDeclarations(): Collection[_ <: PsiSymbolDeclaration]
- Definition Classes
- PsiElement
- def getOwnReferences(): Collection[_ <: PsiSymbolReference]
- Definition Classes
- PsiElement
- def getTextRangeInParent(): TextRange
- Definition Classes
- PsiElement
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)