Uses of Class
org.ek9lang.compiler.search.MatchResults
Packages that use MatchResults
Package
Description
Common parts of processing that can be reused across various phases.
Used primarily to hold structures that are related to searching for symbols.
-
Uses of MatchResults in org.ek9lang.compiler.common
Methods in org.ek9lang.compiler.common that return MatchResultsModifier and TypeMethodDescriptionprotected MatchResultsErrorListener.Details.getFuzzyResults()Hook method for subclasses to provide fuzzy match results.protected MatchResultsErrorListener.ErrorDetails.getFuzzyResults()Methods in org.ek9lang.compiler.common with parameters of type MatchResultsModifier and TypeMethodDescriptionstatic StringVisualErrorFormatter.format(String classification, String errorCode, String fileName, int lineNumber, int position, int tokenLength, String sourceLine, String errorMessage, String detailMessage, MatchResults fuzzyResults) Format an error with visual source display and fuzzy match suggestions.voidErrorListener.semanticError(IToken offendingToken, String msg, ErrorListener.SemanticClassification classification, MatchResults results) Create new semantic error.ErrorListener.ErrorDetails.setFuzzySearchResults(MatchResults fuzzySearchResults) Adds any fuzzy match results, these could be the matches the developer was looking for. -
Uses of MatchResults in org.ek9lang.compiler.search
Methods in org.ek9lang.compiler.search that return MatchResultsModifier and TypeMethodDescriptionMatchResults.add(MatchResult result) Add a new match result to the set of match results.FuzzySymbolSearch.findSimilarMethods(IAggregateSymbol aggregate, String methodName) Search for methods with names similar to the target method name in the given aggregate and its super aggregates.FuzzySymbolSearch.findSimilarProperties(IAggregateSymbol aggregate, String propertyName) Search for properties with names similar to the target property name in the given aggregate.FuzzySymbolSearch.findSimilarSymbols(IScope scope, String targetName) Search for symbols with names similar to the target name in the given scope and all enclosing scopes.FuzzySymbolSearch.findSimilarTypes(IScope scope, String typeName) Search for types with names similar to the target type name in the given scope and all enclosing scopes.MethodSymbolSearchResult.toMatchResults()Converts the results to a list of match results that are ordered by cost and can be displayed.