Skip to content
class method

Prism.scope

scope(locals: [], forwarding: [])

Create a new scope with the given locals and forwarding options that is suitable for passing into one of the Prism.* methods that accepts the scopes option.