Uses of Class
org.ek9lang.compiler.search.MethodSymbolSearchResult
Package
Description
Used primarily to hold structures that are related to searching for symbols.
Contains critical general components used in the
Ek9Compiler
listeners.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of MethodSymbolSearchResult in org.ek9lang.compiler.search
Modifier and TypeMethodDescriptionMethodSymbolSearchResult.add
(List<WeightedMethodSymbolMatch> moreResults) Add more results and sort the list held.MethodSymbolSearchResult.add
(WeightedMethodSymbolMatch weightedMethodSymbolMatch) Add a result and sort the list held.MethodSymbolSearchResult.mergePeerToNewResult
(MethodSymbolSearchResult withResults) Typically used with traits and class/trait combinations so that multiple methods of the same name and parameters.MethodSymbolSearchResult.overrideToNewResult
(MethodSymbolSearchResult withResults) So now let's imagine we have a set of results from various interfaces and classes (maybe using method above to accumulate the methods) But now you are dealing with a Class or a Trait - now we need to know that for all the methods that could be called we only have one single one that would be resolved.Modifier and TypeMethodDescriptionMethodSymbolSearchResult.mergePeerToNewResult
(MethodSymbolSearchResult withResults) Typically used with traits and class/trait combinations so that multiple methods of the same name and parameters.MethodSymbolSearchResult.overrideToNewResult
(MethodSymbolSearchResult withResults) So now let's imagine we have a set of results from various interfaces and classes (maybe using method above to accumulate the methods) But now you are dealing with a Class or a Trait - now we need to know that for all the methods that could be called we only have one single one that would be resolved.ModifierConstructorDescriptionMethodSymbolSearchResult
(MethodSymbolSearchResult startWithResults) New results that contain the result passed in. -
Uses of MethodSymbolSearchResult in org.ek9lang.compiler.support
Modifier and TypeMethodDescriptionvoid
SymbolMatcher.addMatchesToResult
(MethodSymbolSearchResult result, SymbolSearch criteria, List<MethodSymbol> methodSymbols) Match the search criteria against one or more symbol methods. -
Uses of MethodSymbolSearchResult in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionAggregateSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) AggregateWithTraitsSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) IAggregateSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Resolve for matching methods and add matches to result.IScope.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Looks in scope and parent scopes.ScopedSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) SymbolTable.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Add all matching methods for a method search.protected MethodSymbolSearchResult
CaptureScope.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) protected MethodSymbolSearchResult
LocalScope.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) protected MethodSymbolSearchResult
SymbolTable.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) There are no supers so this will not add any methods.IScope.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) Look in own scope just for methods and return all those that could match.ScopedSymbol.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) SymbolTable.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) Add all matching methods for a method search but only in this scope.Modifier and TypeMethodDescriptionAggregateSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) AggregateWithTraitsSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) IAggregateSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Resolve for matching methods and add matches to result.IScope.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Looks in scope and parent scopes.ScopedSymbol.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) SymbolTable.resolveMatchingMethods
(MethodSymbolSearch search, MethodSymbolSearchResult result) Add all matching methods for a method search.protected MethodSymbolSearchResult
CaptureScope.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) protected MethodSymbolSearchResult
LocalScope.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) protected MethodSymbolSearchResult
SymbolTable.resolveMatchingMethodsInEnclosingScope
(MethodSymbolSearch search, MethodSymbolSearchResult result) There are no supers so this will not add any methods.IScope.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) Look in own scope just for methods and return all those that could match.ScopedSymbol.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) SymbolTable.resolveMatchingMethodsInThisScopeOnly
(MethodSymbolSearch search, MethodSymbolSearchResult result) Add all matching methods for a method search but only in this scope.