Sha256: 85ce6ebb7d31e7f649754a2aebffaa38e895c0a718aea8817d36518804ca50e4

Contents?: true

Size: 328 Bytes

Versions: 8

Compression:

Stored size: 328 Bytes

Contents

module Prism
  class Pattern
    class CompilationError < StandardError
    end

    attr_reader query: String

    def initialize: (String query) -> void
    def compile: () -> Proc
    def scan: (Prism::node root) { (Prism::node) -> void } -> void
            | (Prism::node root) -> ::Enumerator[Prism::node, void]
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
prism-1.2.0 sig/prism/pattern.rbs
prism-1.1.0 sig/prism/pattern.rbs
prism-1.0.0 sig/prism/pattern.rbs
prism-0.30.0 sig/prism/pattern.rbs
prism-0.28.0 sig/prism/pattern.rbs
prism-0.27.0 sig/prism/pattern.rbs
prism-0.26.0 sig/prism/pattern.rbs
prism-0.25.0 sig/prism/pattern.rbs