Uses of Enum Class
org.ek9lang.compiler.symbols.ISymbol.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 ISymbol.SymbolCategory in org.ek9lang.compiler.directives
Modifier and TypeMethodDescriptionDirectivesSymbolCategory.apply
(EK9Parser.DirectiveContext ctx) ResolutionDirective.getSymbolCategory()
DirectiveSpec.symbolCategory()
Returns the value of thesymbolCategory
record component.ModifierConstructorDescriptionDirectiveSpec
(IToken token, CompilationPhase phase, ISymbol.SymbolCategory symbolCategory, String symbolName, String additionalName, int lineNumber) Creates an instance of aDirectiveSpec
record class. -
Uses of ISymbol.SymbolCategory in org.ek9lang.compiler.search
Modifier and TypeMethodDescriptionSymbolSearch.getValidSearchTypes()
Provide a list of valid search types if multiple supported.Modifier and TypeMethodDescriptionboolean
SymbolSearch.isCategoryAcceptable
(ISymbol.SymbolCategory category) Uses the search type and any vetos to see if the category passed in is a match on the search.SymbolSearch.setSearchType
(ISymbol.SymbolCategory searchType) Modifier and TypeMethodDescriptionSymbolSearch.setVetoSearchTypes
(List<ISymbol.SymbolCategory> vetoSearchTypes) -
Uses of ISymbol.SymbolCategory in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionISymbol.getCategory()
Symbol.getCategory()
static ISymbol.SymbolCategory
Returns the enum constant of this class with the specified name.static ISymbol.SymbolCategory[]
ISymbol.SymbolCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionSymbolTable.getSymbolsForThisScopeOfCategory
(ISymbol.SymbolCategory category) Find symbols in a specific category.void
Symbol.setCategory
(ISymbol.SymbolCategory category)