Results for: "fnmatch"

Permit statements lists to mark newlines within themselves.

Prism deals with offsets in bytes, while the parser gem deals with offsets in characters. We need to handle this conversion in order to build the parser gem AST.

If the bytesize of the source is the same as the length, then we can just use the offset directly. Otherwise, we build an array where the index is the byte offset and the value is the character offset.

Visit a pattern within a pattern match. This is used to bypass the parenthesis node that can be used to wrap patterns.

1.0 ^^^

1i ^^

1r ^^

foo(*bar)

^^^^

def foo((bar, *baz)); end

^^^^

def foo(*); bar(*); end

^

A list of statements.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Find cached filename in Gem.path. Returns nil if the file cannot be found.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Example:

x.foo = 1
 ^^^^^^
x[42] = 1
 ^^^^^^

Example:

x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^
No documentation available

Compile a ArrayPatternNode node

Search took: 9ms  ·  Total Results: 2538