Class GlobalShadowCheckBackendCompiler

  • All Implemented Interfaces:
    org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler

    public final class GlobalShadowCheckBackendCompiler
    extends java.lang.Object
    implements org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler
    Wrapping BackendCompiler that checks for global bindings shadowing.
    • Constructor Summary

      Constructors 
      Constructor Description
      GlobalShadowCheckBackendCompiler​(org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler baseBackend, java.util.Set<java.lang.String> globals)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CompilationOutput build​(ClassInfo classInfo)  
      void handle​(org.apache.sling.scripting.sightly.compiler.commands.CommandStream stream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GlobalShadowCheckBackendCompiler

        public GlobalShadowCheckBackendCompiler​(org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler baseBackend,
                                                java.util.Set<java.lang.String> globals)
    • Method Detail

      • handle

        public void handle​(org.apache.sling.scripting.sightly.compiler.commands.CommandStream stream)
        Specified by:
        handle in interface org.apache.sling.scripting.sightly.compiler.backend.BackendCompiler