Uses of Enum Class
org.ek9lang.compiler.symbols.SymbolCategory
Packages that use SymbolCategory
Package
Description
The directives are really aimed at helping the creation of the EK9 language, but they
maybe very useful in the early stages of adoption of EK9 (should there be any).
Used primarily to hold structures that are related to searching for symbols.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of SymbolCategory in org.ek9lang.compiler.directives
Methods in org.ek9lang.compiler.directives that return SymbolCategoryModifier and TypeMethodDescriptionDirectivesSymbolCategory.apply
(EK9Parser.DirectiveContext ctx) ResolutionDirective.getSymbolCategory()
DirectiveSpec.symbolCategory()
Returns the value of thesymbolCategory
record component.Constructors in org.ek9lang.compiler.directives with parameters of type SymbolCategoryModifierConstructorDescriptionDirectiveSpec
(IToken token, CompilationPhase phase, SymbolCategory symbolCategory, String symbolName, String additionalName, int lineNumber) Creates an instance of aDirectiveSpec
record class. -
Uses of SymbolCategory in org.ek9lang.compiler.search
Methods in org.ek9lang.compiler.search that return SymbolCategoryMethods in org.ek9lang.compiler.search that return types with arguments of type SymbolCategoryModifier and TypeMethodDescriptionSymbolSearch.getValidSearchTypes()
Provide a list of valid search types if multiple supported.Methods in org.ek9lang.compiler.search with parameters of type SymbolCategoryModifier and TypeMethodDescriptionboolean
SymbolSearch.isCategoryAcceptable
(SymbolCategory category) Uses the search type and any vetos to see if the category passed in is a match on the search.SymbolSearch.setSearchType
(SymbolCategory searchType) Method parameters in org.ek9lang.compiler.search with type arguments of type SymbolCategoryModifier and TypeMethodDescriptionSymbolSearch.setVetoSearchTypes
(List<SymbolCategory> vetoSearchTypes) -
Uses of SymbolCategory in org.ek9lang.compiler.symbols
Methods in org.ek9lang.compiler.symbols that return SymbolCategoryModifier and TypeMethodDescriptionISymbolNature.getCategory()
Symbol.getCategory()
static SymbolCategory
Returns the enum constant of this class with the specified name.static SymbolCategory[]
SymbolCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.ek9lang.compiler.symbols with parameters of type SymbolCategoryModifier and TypeMethodDescriptionSymbolTable.getSymbolsForThisScopeOfCategory
(SymbolCategory category) Find symbols in a specific category.void
Symbol.setCategory
(SymbolCategory category)