Search in sources :

Example 1 with GlobalShadowChecker

use of org.apache.sling.scripting.sightly.java.compiler.impl.GlobalShadowChecker in project sling by apache.

the class GlobalShadowCheckBackendCompiler method handle.

@Override
public void handle(CommandStream stream) {
    stream.addHandler(new CommandVisitorHandler(new GlobalShadowChecker(globals)));
    baseBackend.handle(stream);
}
Also used : CommandVisitorHandler(org.apache.sling.scripting.sightly.java.compiler.impl.CommandVisitorHandler) GlobalShadowChecker(org.apache.sling.scripting.sightly.java.compiler.impl.GlobalShadowChecker)

Aggregations

CommandVisitorHandler (org.apache.sling.scripting.sightly.java.compiler.impl.CommandVisitorHandler)1 GlobalShadowChecker (org.apache.sling.scripting.sightly.java.compiler.impl.GlobalShadowChecker)1