Uses of Class
org.ek9lang.compiler.symbols.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
Modifier and TypeMethodDescriptionvoid
ProcessVariableOnlyOrError.accept
(EK9Parser.VariableOnlyDeclarationContext ctx, VariableSymbol variableSymbol) -
Uses of VariableSymbol in org.ek9lang.compiler.support
Modifier 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.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. -
Uses of VariableSymbol in org.ek9lang.compiler.symbols
Modifier and TypeMethodDescriptionprotected VariableSymbol
VariableSymbol.cloneIntoVariable
(VariableSymbol newCopy) FunctionSymbol.getReturningSymbol()
Provide a symbol that is returned from this function.Modifier and TypeMethodDescriptionprotected VariableSymbol
VariableSymbol.cloneIntoVariable
(VariableSymbol newCopy) protected void
FunctionSymbol.justSetReturningSymbol
(VariableSymbol returningSymbol) void
FunctionSymbol.setReturningSymbol
(VariableSymbol returningSymbol) void
IMayReturnSymbol.setReturningSymbol
(VariableSymbol returningSymbol) void
MethodSymbol.setReturningSymbol
(VariableSymbol returningSymbol) Sets the returning symbol (variable not just type).