class SyntaxTree::Parser

def on_regexp_new

Experimental RBS support (using type sampling data from the type_fusion project).

def on_regexp_new: () -> untyped

This signature was generated using 1 sample from 1 application.

on_regexp_new: () -> RegexpContent
:call-seq:
def on_regexp_new
  regexp_beg = consume_token(RegexpBeg)
  RegexpContent.new(
    beginning: regexp_beg.value,
    parts: [],
    location: regexp_beg.location
  )
end