class SyntaxTree::Parser
def on_string_embexpr(statements)
Experimental RBS support (using type sampling data from the type_fusion project).
def on_string_embexpr: (SyntaxTree::Statements statements) -> untyped
This signature was generated using 2 samples from 1 application.
:call-seq:
def on_string_embexpr(statements) embexpr_beg = consume_token(EmbExprBeg) embexpr_end = consume_token(EmbExprEnd) statements.bind( self, embexpr_beg.location.end_char, embexpr_beg.location.end_column, embexpr_end.location.start_char, embexpr_end.location.start_column ) location = Location.new( start_line: embexpr_beg.location.start_line, start_char: embexpr_beg.location.start_char, start_column: embexpr_beg.location.start_column, end_line: [ embexpr_end.location.end_line, statements.location.end_line ].max, end_char: embexpr_end.location.end_char, end_column: embexpr_end.location.end_column ) StringEmbExpr.new(statements: statements, location: location) end