instance method
Prism::Translation::Parser::Lexer#interpolation?
interpolation?(quote)
lib/prism/translation/parser/lexer.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/translation/parser/lexer.rb, line 804
def interpolation?(quote)
!quote.end_with?("'") && !quote.start_with?("%q", "%w", "%i", "%s")
end
Determine if characters preceeded by a backslash should be escaped or not