Results for: "OptionParser"

def deconstruct_keys: (Array keys) -> { node_id: Integer, location: Location, opening_loc: Location, content_loc: Location, closing_loc: Location, unescaped: String }

attr_reader opening_loc: Location

attr_reader content_loc: Location

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 comment_targets: () -> Array[Node | Location]

def deconstruct_keys: (Array keys) -> { node_id: Integer, location: Location, keyword_loc: Location, lparen_loc: Location?, arguments: ArgumentsNode?, rparen_loc: Location? }

Return the byte offset of the start of the line corresponding to the given byte offset.

The byte offset from the beginning of the source where this location ends.

The line number where this location starts.

The column number in bytes where this location starts from the start of the line.

Implement the hash pattern matching interface for Location.

Implement the hash pattern matching interface for Comment.

Implement the hash pattern matching interface for MagicComment.

Implement the hash pattern matching interface for ParseError.

Implement the hash pattern matching interface for ParseWarning.

Implement the hash pattern matching interface for Result.

Implement the hash pattern matching interface for ParseResult.

Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s ‘:line` tracepoint event.

Implement the hash pattern matching interface for LexResult.

Implement the hash pattern matching interface for ParseLexResult.

Implement the hash pattern matching interface for Token.

Raise an error because the given node is not supported.

No documentation available
No documentation available
No documentation available
Search took: 9ms  ·  Total Results: 6041