Results for: "partition"

Foo = 1 ^^^^^^^

Foo, Bar = 1 ^^^ ^^^

Foo, = bar ^^^

Foo::Bar ^^^^^^^^

def foo(…); bar(…); end

^^^

-> { _1 + _2 } ^^^^^^^^^^^^^^

Visit a destructured positional parameter node.

foo => ^(bar)

^^^^^^

def foo(bar); end

^^^

def foo(*bar); end

^^^^

def foo(*); end

^

A shareable constant.

Ripper gives back the escaped string content but strips out the common leading whitespace. Prism gives back the unescaped string content and a location for the escaped string content. Unfortunately these don’t work well together, so here we need to re-derive the common leading whitespace.

Example:

Foo::Bar += 1
   ^^^^^^^^

Compile a ClassVariableAndWriteNode node

Compile a ClassVariableOperatorWriteNode node

Compile a ClassVariableOrWriteNode node

Compile a GlobalVariableAndWriteNode node

Compile a GlobalVariableOperatorWriteNode node

Compile a GlobalVariableOrWriteNode node

Compile a InstanceVariableAndWriteNode node

Compile a InstanceVariableOperatorWriteNode node

Compile a InstanceVariableOrWriteNode node

Compile a ItLocalVariableReadNode node

Compile a LocalVariableAndWriteNode node

Compile a LocalVariableOperatorWriteNode node

Compile a LocalVariableOrWriteNode node

Search took: 4ms  ·  Total Results: 4702