Class AnyThroughScope

java.lang.Object
org.ek9lang.compiler.support.AnyThroughScope
All Implemented Interfaces:
Function<IScope, Optional<ISymbol>>

public final class AnyThroughScope extends Object implements Function<IScope, Optional<ISymbol>>
THE search for the built-in Any through a scope: the fully qualified name, of category ANY - a category only AnyTypeSymbol has, so nothing a user declares can answer it. Use it wherever Any must be found WITHOUT the built-in type cache: building that cache (phase1/BuiltInTypeCacheResolver), the bootstrap module while it is still being defined, and a parameterised type created in SYMBOL_DEFINITION. Everyone else asks the cache (Ek9Types.ek9Any()). Never write the search out again (front-end rationalisation F13/A-12: there were four spellings, one of them an unqualified "Any").

Hold an instance (no static methods, Steve 2026-10-28); it was AggregateManipulator.resolveAny.

  • Constructor Details

    • AnyThroughScope

      public AnyThroughScope()
  • Method Details