Package org.ek9lang.compiler.support
Class CommonFactory
java.lang.Object
org.ek9lang.compiler.support.CommonFactory
- Direct Known Subclasses:
AggregateFactory
,BasicSymbolFactory
,DirectiveFactory
,FunctionFactory
,OperationFactory
,ServiceFactory
,StreamFactory
,SymbolFactory
,TextFactory
Just for details that are common to all factories.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AggregateManipulator
protected final ParsedModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureAggregate
(AggregateSymbol aggregate, IToken start) protected void
configureSymbol
(ISymbol symbol, IToken start) protected List
<AggregateSymbol> createAndRegisterParameterisedSymbols
(EK9Parser.ParameterisedParamsContext ctx, ISymbol functionOrClass, IScope scope) getDefaultOperatorInitializer
(IToken startToken) protected Consumer
<MethodSymbol> getDefaultOperatorSymbolInitializer
(Consumer<ISymbol> initialise)
-
Field Details
-
checkContextNotNull
-
parsedModule
-
aggregateManipulator
-
-
Constructor Details
-
CommonFactory
CommonFactory(ParsedModule parsedModule)
-
-
Method Details
-
getAggregateFactory
-
configureAggregate
-
configureSymbol
-
getDefaultOperatorSymbolInitializer
-
getDefaultOperatorInitializer
-
createAndRegisterParameterisedSymbols
protected List<AggregateSymbol> createAndRegisterParameterisedSymbols(EK9Parser.ParameterisedParamsContext ctx, ISymbol functionOrClass, IScope scope)
-