Class AbstractGenerator

java.lang.Object
org.ek9lang.compiler.phase7.generator.AbstractGenerator
  • Field Details

  • Constructor Details

    • AbstractGenerator

      AbstractGenerator(IRGenerationContext stackContext)
      Constructor accepting only IRGenerationContext - the single source of state.
  • Method Details

    • getRecordedSymbolOrException

      protected ISymbol getRecordedSymbolOrException(org.antlr.v4.runtime.tree.ParseTree node)
    • extractCallMetaData

      protected CallMetaDataDetails extractCallMetaData(ISymbol symbol)
      Extract call metadata from a symbol using the common pattern. This consolidates the frequent pattern of creating CallMetaDataExtractor and applying it.