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
Classes in org.ek9lang.compiler.phase1 that implement interfaces with type arguments of type VariableSymbolModifier and TypeClassDescription(package private) final classChecks on whether the '?' can be used as a modifier then check the parent of this context.Methods in org.ek9lang.compiler.phase1 with parameters of type VariableSymbolModifier and TypeMethodDescriptionvoidProcessVariableOnlyOrError.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 TypeMethodDescriptionvoidServiceFactory.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 VariableSymbolVariableSymbol.cloneIntoVariable(VariableSymbol newCopy) CallSymbol.getReturningSymbol()FunctionSymbol.getReturningSymbol()Provide a symbol that is returned from this function.default VariableSymbolIMayReturnSymbol.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 VariableSymbolVariableSymbol.cloneIntoVariable(VariableSymbol newCopy) protected voidFunctionSymbol.justSetReturningSymbol(VariableSymbol returningSymbol) protected voidMethodSymbol.justSetReturningSymbol(VariableSymbol returningSymbol) voidFunctionSymbol.setReturningSymbol(VariableSymbol returningSymbol) default voidIMayReturnSymbol.setReturningSymbol(VariableSymbol returningSymbol) voidMethodSymbol.setReturningSymbol(VariableSymbol returningSymbol) Sets the returning symbol (variable not just type).Constructors in org.ek9lang.compiler.symbols with parameters of type VariableSymbol