def multi_line?: () -> bool
def windows_31j?: () -> bool
def multi_line?: () -> bool
def windows_31j?: () -> bool
def multi_line?: () -> bool
def windows_31j?: () -> bool
def multi_line?: () -> bool
def windows_31j?: () -> bool
def experimental_copy?: () -> bool
Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.
def begin_modifier?: () -> bool
def begin_modifier?: () -> bool
Occasionally it’s helpful to treat a string as if it were interpolated so that there’s a consistent interface for working with strings.
Returns the byte offset of the end of the line corresponding to the given byte offset.
Returns all of the lines of the source code associated with this location.
The source code that this location represents starting from the beginning of the line that this location starts on to the end of the line that this location ends on.
The line number where this location ends.
The column number in bytes where this location starts from the start of the line.
Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s ‘:line` tracepoint event.
Shortcut for combining two procs into one that returns true if both return true.
Shortcut for combining two procs into one that returns true if either returns true.