Class LPCRuntimeConfig

java.lang.Object
io.github.protasm.jvmud.compiler.exec.LPCRuntimeConfig

public final class LPCRuntimeConfig extends Object
Configuration options for the host-facing LPC execution runtime.

The base include path is the mudlib root for host calls that use mudlib-style paths. Include search paths and custom resolvers control preprocessor and inherited-source lookup. Class loading options control the JVM parent visible to generated LPC classes.

  • Method Details

    • builder

      public static LPCRuntimeConfig.Builder builder()
      Starts a builder with local-development defaults.
    • baseIncludePath

      public Path baseIncludePath()
      Returns the normalized mudlib root used to resolve host-supplied LPC paths.
    • includeSearchPaths

      public List<Path> includeSearchPaths()
      Returns additional include search paths used by the default include resolver.
    • parentInternalName

      public String parentInternalName()
      Returns the JVM internal superclass name used for generated LPC objects.
    • parentClassLoader

      public ClassLoader parentClassLoader()
      Returns the parent class loader for generated LPC classes.
    • includeResolver

      public IncludeResolver includeResolver()
      Returns the explicitly supplied include resolver, if any.
    • compilationObserver

      public CompilationObserver compilationObserver()
      Returns the observer used for compiler stage progress.
    • objectLoadObserver

      public LPCObjectLoadObserver objectLoadObserver()
      Returns the observer used for host-side LPC object load and compile diagnostics.