Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1cask "nested-app" do
2 version "1.2.3"
3 sha256 "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af734216"
4
5 url "file://#{TEST_FIXTURE_DIR}/cask/NestedApp.dmg.zip"
6 homepage "https://brew.sh/nested-app"
7
8 container nested: "NestedApp.dmg"
9
10 app "MyNestedApp.app"
11end
12

After

1cask "nested-app" do
2 version "1.2.3"
3 sha256 "69034d000fabf804a6e140c8c632f8ce8a3bf303f5f7db2fb0cd86e3aeed9e67"
4
5 url "file://#{TEST_FIXTURE_DIR}/cask/NestedApp.zip.tar.gz"
6 homepage "https://brew.sh/nested-app"
7
8 container nested: "NestedApp.zip"
9
10 app "MyNestedApp.app"
11end
12

Before

program
call
identifier "cask"
argument_list
string
" "\""
string_content "nested-app"
" "\""
do_block
do "do"
body_statement
call
identifier "version"
argument_list
string
" "\""
string_content "1.2.3"
" "\""
call
identifier "sha256"
argument_list
string
" "\""
string_content "1866dfa833b123bb8fe7fa7185ebf24d28d300d0643d75798bc23730af73"...
" "\""
call
identifier "url"
argument_list
string
" "\""
string_content "file://"
interpolation
#{ "#{"
constant "TEST_FIXTURE_DIR"
} "}"
string_content "/cask/NestedApp.dmg.zip"
" "\""
call
identifier "homepage"
argument_list
string
" "\""
string_content "https://brew.sh/nested-app"
" "\""
call
identifier "container"
argument_list
pair
hash_key_symbol "nested"
: ":"
string
" "\""
string_content "NestedApp.dmg"
" "\""
call
identifier "app"
argument_list
string
" "\""
string_content "MyNestedApp.app"
" "\""
end "end"

After

program
call
identifier "cask"
argument_list
string
" "\""
string_content "nested-app"
" "\""
do_block
do "do"
body_statement
call
identifier "version"
argument_list
string
" "\""
string_content "1.2.3"
" "\""
call
identifier "sha256"
argument_list
string
" "\""
string_content "69034d000fabf804a6e140c8c632f8ce8a3bf303f5f7db2fb0cd86e3aeed"...
" "\""
call
identifier "url"
argument_list
string
" "\""
string_content "file://"
interpolation
#{ "#{"
constant "TEST_FIXTURE_DIR"
} "}"
string_content "/cask/NestedApp.zip.tar.gz"
" "\""
call
identifier "homepage"
argument_list
string
" "\""
string_content "https://brew.sh/nested-app"
" "\""
call
identifier "container"
argument_list
pair
hash_key_symbol "nested"
: ":"
string
" "\""
string_content "NestedApp.zip"
" "\""
call
identifier "app"
argument_list
string
" "\""
string_content "MyNestedApp.app"
" "\""
end "end"