Uses of Class
org.ek9lang.compiler.symbols.VariableSymbol
Packages that use VariableSymbol
Package
Description
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
Contains critical general components used in the
Ek9Compiler
listeners.
This is the main source of EK9 Symbols used within the compiler.
-
Uses of VariableSymbol in org.ek9lang.compiler.phase1
Methods in org.ek9lang.compiler.phase1 with parameters of type VariableSymbolModifier and TypeMethodDescriptionvoid
ProcessVariableOnlyOrError.accept
(EK9Parser.VariableOnlyDeclarationContext ctx, VariableSymbol variableSymbol) -
Uses of VariableSymbol in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return VariableSymbolModifier and TypeMethodDescriptionSymbolFactory.newLoopVariable
(EK9Parser.ForLoopContext ctx) Create a new aggregate that represents an EK9 loop variable.SymbolFactory.newLoopVariable
(EK9Parser.ForRangeContext ctx) Create a new aggregate that represents an EK9 loop variable for a range.BasicSymbolFactory.newVariable
(String name, IToken token, boolean nullAllowed, boolean injectionExpected) Create new variable typically when looking to create simulated variable.BasicSymbolFactory.newVariable
(EK9Parser.IdentifierContext identifier, boolean nullAllowed, boolean injectionExpected) BasicSymbolFactory.newVariable
(EK9Parser.VariableDeclarationContext ctx) Create and initialise a new variable symbol.SymbolFactory.newVariable
(String name, IToken token, boolean nullAllowed, boolean injectionExpected) Create new variable typically when looking to create simulated variable.SymbolFactory.newVariable
(EK9Parser.IdentifierContext identifier, boolean nullAllowed, boolean injectionExpected) SymbolFactory.newVariable
(EK9Parser.VariableDeclarationContext ctx) Create and initialise a new variable symbol.SymbolFactory.newVariable
(EK9Parser.VariableOnlyDeclarationContext ctx) Just a declaration of a variable by itself - i.e.Methods in org.ek9lang.compiler.support with parameters of type VariableSymbolModifier and TypeMethodDescriptionvoid
ServiceFactory.configureWebVariable
(EK9Parser.VariableOnlyDeclarationContext ctx, VariableSymbol variable) -
Uses of VariableSymbol in org.ek9lang.compiler.symbols
Methods in org.ek9lang.compiler.symbols that return VariableSymbolModifier and TypeMethodDescriptionprotected VariableSymbol
VariableSymbol.cloneIntoVariable
(VariableSymbol newCopy) CallSymbol.getReturningSymbol()
FunctionSymbol.getReturningSymbol()
Provide a symbol that is returned from this function.default VariableSymbol
IMayReturnSymbol.getReturningSymbol()
MethodSymbol.getReturningSymbol()
Provide a symbol that is returned from this method.Methods in org.ek9lang.compiler.symbols with parameters of type VariableSymbolModifier and TypeMethodDescriptionprotected VariableSymbol
VariableSymbol.cloneIntoVariable
(VariableSymbol newCopy) protected void
FunctionSymbol.justSetReturningSymbol
(VariableSymbol returningSymbol) protected void
MethodSymbol.justSetReturningSymbol
(VariableSymbol returningSymbol) void
FunctionSymbol.setReturningSymbol
(VariableSymbol returningSymbol) default void
IMayReturnSymbol.setReturningSymbol
(VariableSymbol returningSymbol) void
MethodSymbol.setReturningSymbol
(VariableSymbol returningSymbol) Sets the returning symbol (variable not just type).Constructors in org.ek9lang.compiler.symbols with parameters of type VariableSymbol