Uses of Class
org.ek9lang.compiler.common.SymbolsAndScopes
Package
Description
Common parts of processing that can be reused across various phases.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
F - Resolution of Explicitly Defined Type Symbols at this point phase1 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
Contains critical general components used in the
Ek9Compiler
listeners.-
Uses of SymbolsAndScopes in org.ek9lang.compiler.common
Modifier and TypeFieldDescriptionprotected final SymbolsAndScopes
AbstractEK9PhaseListener.symbolsAndScopes
protected final SymbolsAndScopes
RuleSupport.symbolsAndScopes
ModifierConstructorDescriptionAppropriateBodyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new checker.ContextSupportsAbstractMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new.OverrideOrAbstractOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new checker.protected
RuleSupport
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) protected
TypedSymbolAccess
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Constructor to provided typed access. -
Uses of SymbolsAndScopes in org.ek9lang.compiler.phase1
ModifierConstructorDescription(package private)
ApplicationOnMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
AppropriateFunctionBodyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
DynamicClassDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
MethodNotOperatorOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
NoMethodReturnOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
OuterGenericsUseOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ErrorListener.SemanticClassification errorClassification) Checks if this token is being used within a generic type/function - directly or indirectly.(package private)
ProcessCommonMethodsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) protected
ProcessSyntheticReturn
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
ValidMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new method checker.(package private)
ValidPreFlowAndReturnOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
VariableDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) If the variable has been declared within any sort of generic type/function and not been used with a 'typedef' i.e. -
Uses of SymbolsAndScopes in org.ek9lang.compiler.phase2
ModifierConstructorDescription(package private)
HttpAccessOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
NoDuplicatedServicePathsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
PopulateConstrainedTypeOrError
(SymbolsAndScopes symbolsAndScopes, AggregateFactory aggregateFactory, ErrorListener errorListener) (package private)
ProcessDynamicClassOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessDynamicFunctionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessFunctionDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
ProcessTraitDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessTypeDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, AggregateFactory aggregateFactory, ErrorListener errorListener) (package private)
ProcessVariableDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
ProcessVariableOnlyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessVariableOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
SetupGenericTOrError
(SymbolsAndScopes symbolsAndScopes, AggregateFactory aggregateFactory, ErrorListener errorListener) SuitableGenusOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, List<ISymbol.SymbolGenus> genus, boolean allowTemplates, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable genus.(package private)
SuitableGenusOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ISymbol.SymbolGenus genus, boolean allowTemplates, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable genus.SuitableToExtendOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, List<ISymbol.SymbolGenus> genus, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable to be extended from.(package private)
SuitableToExtendOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ISymbol.SymbolGenus genus, boolean issueErrorIfNotResolved) Checks that the typedef/identifierReference passed in (when resolved) is suitable to be extended from.(package private)
SynthesizeSuperFunction
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
ValidOperatorOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operation checker.(package private)
ValidPathParameterOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ValidServiceOperationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new Check Service Operation function.(package private)
VisibilityOfOperationsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operations checker an aggregates. -
Uses of SymbolsAndScopes in org.ek9lang.compiler.phase3
Modifier and TypeFieldDescription(package private) final SymbolsAndScopes
MutableOrError.symbolsAndScopes
ModifierConstructorDescription(package private)
AccessLeftAndRightOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
AccessToSymbolOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
AllTextBodiesPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check text body for text constructs is present across all language variants.(package private)
AssignmentExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on references to variables in blocks.(package private)
AssignmentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, boolean isDeclaration) (package private)
AssignmentStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on validity of assignments.(package private)
AugmentAggregateWithTraitMethods
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
AutoMatchSuperFunctionSignature
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
CallOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Lookup a pre-recorded 'call', now resolve what it is supposed to call and set its type.(package private)
CaseExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
CheckConflictingMethods
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ComparatorPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ControlIsBooleanOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
DecrementPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
DefaultOperatorsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
DictUseOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Create a new consumer to handle Dict in the form of '{A: X, B: Y, C: Z}'.(package private)
DynamicCaptureOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, SymbolFactory symbolFactory) Define new variables in the capture scope as they are resolved.(package private)
DynamicFunctionBodyPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check dynamic functions.(package private)
EnumeratedTypeOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
EnumerationLocator
(SymbolsAndScopes symbolsAndScopes) (package private)
ExceptionTypeOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ExpressionOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Check Primary resolves and attempt to 'type' it.(package private)
ForLoopOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ForRangeOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check range expressions and record an expression for the type.(package private)
ForStatementExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
FunctionDelegateOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
FunctionOverridesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check overriding of super (method parameters and covariance returns).(package private)
GetIteratorType
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
GuardExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on validity of assignments.(package private)
HashCodePresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
HeadTailSkipOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
IdentifierAssignmentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
IdentifierOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Searches for an identifier and issues an error if it is not resolved.(package private)
IdentifierReferenceOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Checks identifier reference now resolves.(package private)
IfStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
IncrementPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
InstructionBlockVariablesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on references to variables in blocks.(package private)
IsSetPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
LhsAndRhsAssignmentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ListUseOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Create a new consumer to handle Lists in the form of '[X, Y, Z]'.(package private)
MethodOverridesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ErrorListener.SemanticClassification errorWhenShouldBeMarkedAbstract) Check various aspects of overriding methods.(package private)
MethodSymbolSearchForExpression
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
MutableOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
NoDelegateMethodClashesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new delegate checker.(package private)
NoDuplicatedPropertyNamesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ErrorListener.SemanticClassification errorClassification) (package private)
NotAbstractOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
NoTraitByVariablesOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ObjectAccessExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ObjectAccessStartOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
OperationCallOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operation resolver.protected
OperatorTest
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ParameterTypesExactMatchOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
PipelinePartOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new consumer to handle stream pipeline parts.(package private)
PreFlowStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check on validity of assignments.(package private)
PrimaryOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check Primary resolves and attempt to 'type' it.(package private)
ProcessWhileControlVariable
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
PropertyFieldOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new field resolver.(package private)
PureModifierOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
PureProcessingInPureContextOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
RangeOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Check range expressions and record an expression for the type.(package private)
RequiredOperatorPresentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ResolveByTraitVariables
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ResolveFunctionOrDelegateByNameOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Searches for an identifier and issues an error if it is not resolved.(package private)
ResolveFunctionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ResolveIdentifierReferenceCallOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
ResolveMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create function with provided errorListener etc.(package private)
ServiceRegistrationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SetTypeFromReturningParam
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) protected
StreamAssemblyOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
StreamCatOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StreamExpressionOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
StreamExpressionTerminationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StreamForOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StreamFunctionArgumentsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StreamFunctionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
StreamStatementOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
StreamStatementTerminationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SwitchStatementExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SymbolFromContextOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SymbolReferencedOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SymbolsFromParamExpression
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ThisOrSuperCallOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ThisOrSuperOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Checks that this/super passed in is a suitable genus.(package private)
ThrowStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
TryStatementExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
TypeConstraintOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) (package private)
TypeCovarianceOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
TypesCompatibleOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Check symbols with types have compatible types.(package private)
ValidFunctionAbstractnessOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
VariableAssignmentOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new checker of variable assignments when variables are being declared.(package private)
VariableOnlyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
WhileStatementExpressionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Uses of SymbolsAndScopes in org.ek9lang.compiler.phase5
ModifierConstructorDescription(package private)
AssignmentStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
DynamicFunctionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ForStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
FunctionOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
GetGuardVariable
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) protected
IdentifierAsPropertyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
IdentifierReferenceOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
IfStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
MethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
OperatorOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) protected
PossibleExpressionConstruct
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessDynamicFunctionEntry
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ProcessGuardExpression
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ReturningVariableOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
ServiceOperationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
SwitchStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
TryStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
VariableOnlyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) (package private)
WhileStatementOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Uses of SymbolsAndScopes in org.ek9lang.compiler.support
ModifierConstructorDescriptionAccessGenericInGeneric
(SymbolsAndScopes symbolsAndScopes) MostSpecificScope
(SymbolsAndScopes symbolsAndScopes) ParameterisedLocator
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) Create a new Function that can define or resolve a specific generic type with a single type parameter.ResolveOrDefineExplicitParameterizedType
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex function constructor - for a function.ResolveOrDefineIdentifierReference
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex constructor - for a function.ResolveOrDefineTypeDef
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex constructor - for a function.protected
ResolveOrDefineTypes
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex function constructor - for a function.protected
ResolverOrDefiner
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved)