class Prism::Pattern::CompilationError
Raised when the query given to a pattern is either invalid Ruby syntax or is using syntax that we donโt yet support.
Raised when the query given to a pattern is either invalid Ruby syntax or is using syntax that we donโt yet support.
Public Class Methods
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/sig/generated/prism/pattern.rbs, line 45
def initialize: (String repr) -> void
Create a new CompilationError with the given representation of the node that caused the error.
: (String repr) -> void