Interface ScriptScopeResolver

All Known Implementing Classes:
DefaultScopeResolver

public interface ScriptScopeResolver
An interface for structures that map string keys to ScriptVariableResolvers. As a strict policy, all scope names are CASE-INSENSITIVE.
Author:
Matthew Tropiano
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ScriptScopeResolver
    A scope resolver with no scopes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if this contains a scope by its scope name.
    Gets the corresponding scope for a scope name.
  • Field Details

  • Method Details

    • getScope

      Gets the corresponding scope for a scope name.
      Parameters:
      name - the scope name.
      Returns:
      the corresponding scope, or null if no corresponding scope.
    • containsScope

      boolean containsScope(String name)
      Checks if this contains a scope by its scope name.
      Parameters:
      name - the scope name.
      Returns:
      true if so, false if not.