Class CompilerState

java.lang.Object
cool.klass.model.converter.compiler.CompilerState

public class CompilerState extends Object
  • Constructor Details

    • CompilerState

      public CompilerState(@Nonnull org.eclipse.collections.api.list.ImmutableList<CompilationUnit> compilationUnits)
  • Method Details

    • runInPlaceCompilerMacro

      public void runInPlaceCompilerMacro(@Nonnull AntlrElement macroElement, @Nonnull AbstractCompilerPhase macroExpansionCompilerPhase, @Nonnull String sourceCodeText, @Nonnull org.eclipse.collections.api.block.function.Function<KlassParser,? extends org.antlr.v4.runtime.ParserRuleContext> parserRule, org.antlr.v4.runtime.ParserRuleContext inPlaceContext, org.antlr.v4.runtime.tree.ParseTreeListener... listeners)
    • runRootCompilerMacro

      public void runRootCompilerMacro(@Nonnull AntlrElement macroElement, @Nonnull AbstractCompilerPhase macroExpansionCompilerPhase, @Nonnull String sourceCodeText, @Nonnull org.eclipse.collections.api.block.function.Function<KlassParser,? extends org.antlr.v4.runtime.ParserRuleContext> parserRule, @Nonnull org.eclipse.collections.api.list.ImmutableList<org.antlr.v4.runtime.tree.ParseTreeListener> listeners)
    • reportErrors

      public void reportErrors()
    • getCompilationResult

      @Nonnull public CompilationResult getCompilationResult(org.eclipse.collections.api.list.ImmutableList<RootCompilerAnnotation> compilerAnnotations)
    • getDomainModel

      @Nonnull public AntlrDomainModel getDomainModel()
    • getCompilerInput

      @Nonnull public CompilerInputState getCompilerInput()
    • getCompilerAnnotationHolder

      @Nonnull public CompilerAnnotationHolder getCompilerAnnotationHolder()
    • getCompilerWalk

      public CompilerWalkState getCompilerWalk()
    • getOrdinal

      public Integer getOrdinal(@Nonnull org.antlr.v4.runtime.ParserRuleContext ctx)
    • asListener

      @Nonnull public KlassListener asListener()