Uses of Class
org.ek9lang.compiler.symbols.Symbol
Packages that use Symbol
Package
Description
Contains critical general components used in the
Ek9Compiler listeners.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of Symbol in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return SymbolModifier and TypeMethodDescriptionSymbolFactory.newGeneralSymbol(IToken token, String name) Just for general symbols, like references. -
Uses of Symbol in org.ek9lang.compiler.symbols
Subclasses of Symbol in org.ek9lang.compiler.symbolsModifier and TypeClassDescriptionclassThis is typically a 'class' or an interface type where it can include the definitions of new properties.classAn aggregate, but one that can have zero or more traits (like interfaces).classSpecial type that is super of Aggregate and super of Function (if they don't have supers).classJust re-uses the bulk of method symbol for when we want to make a symbol that is a call to an actual method.classJust focuses on the ability to possible capture variables from an enclosing scope.classA very simple type that holds a single distinct value.classEK9 switch/try control type symbol - this can effectively return a value if it is configured with returning part.classWhile we don't add these in the scoped structures when compiling.classEK9 'for' type symbol - we need a scope because we declare a new variable as the loop variable.classScope for functions that are part of a module.classRepresents some type of method that exists on an aggregate type scope.classWhile we don't add these in the scoped structures when compiling.classAdded as a common symbol type for both Functions and Aggregates that could possibly be generic in nature and also be a parameterised type.classRepresents a symbol that also has a scope.classScope for callable methods (operations) that are part of a Service.classUsed when duplicate symbols are found, where we need to add a placeholder.classJust re-uses the bulk of method symbol.classIntended to model the pipeline flow in a streaming of cat or for loop though | and map etc.classEK9 switch statement - this can effectively return a value if it is configured with returning part.classEK9 try statement - this can effectively return a value if it is configured with returning part.classModels a variable.classEK9 'while' or 'do/while' type symbol - we need a scope because we can declare new variables as part of the pre-flow semantics.Methods in org.ek9lang.compiler.symbols that return SymbolModifier and TypeMethodDescriptionprotected SymbolSymbol.cloneIntoSymbol(Symbol newCopy) Symbol.copySymbolProperties(Symbol newCopy) Just copies the properties over.Methods in org.ek9lang.compiler.symbols with parameters of type SymbolModifier and TypeMethodDescriptionprotected SymbolSymbol.cloneIntoSymbol(Symbol newCopy) Symbol.copySymbolProperties(Symbol newCopy) Just copies the properties over.