SymbolReference

A reference to a symbol. It can solved or not solved. If solved the corresponding declaration will be provided.

Author

Federico Tomassetti

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Get the declaration associated with the Symbol.
Link copied to clipboard
open fun isSolved(): Boolean
Is the reference solved?
Link copied to clipboard
open fun <S : ResolvedDeclaration?, S2 : S?> solved(symbolDeclaration: S2): SymbolReference<S>
Create a solve reference to the given symbol.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
Create a reference for an unsolved symbol.
open fun <S : ResolvedDeclaration?, S2 : S?> unsolved(clazz: Class<S2>): SymbolReference<S>
Create an unsolved reference specifying the type of the value expected.