Constants
No documentation available
Class Methods
No documentation available
Instance Methods
No documentation available

Take a location from the prism parser and set the necessary instance variables.

Example:

x.foo(42)
      ^^
x[42]
  ^^
x.foo = 1
        ^
x[42] = 1
  ^^^^^^^
x[] = 1
  ^^^^^
x + 1
    ^
foo(42)
    ^^
foo 42
    ^^

Example:

x.foo
 ^^^^
x.foo(42)
 ^^^^
x&.foo
 ^^^^^
x[42]
 ^^^^
x.foo = 1
 ^^^^^^
x[42] = 1
 ^^^^^^
x + 1
  ^
+x
^
foo(42)
^^^
foo 42
^^^
foo
^^^

Example:

x.foo += 42
         ^^

Example:

x.foo += 42
 ^^^     (for foo)
x.foo += 42
      ^  (for +)
x.foo += 42
 ^^^^^^^ (for foo=)

Example:

Foo::Bar
   ^^^^^

Example:

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

Example:

Foo
^^^

Example:

x[1] += 42
  ^^^^^^^^

Example:

x[1] += 42
 ^^^    (for [])
x[1] += 42
     ^  (for +)
x[1] += 42
 ^^^^^^ (for []=)

Example:

x += 1
     ^

Example:

x += 1
  ^
No documentation available

Example:

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

Example:

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

Example:

x.foo(42)
      ^^
x[42]
  ^^
x += 1
     ^

Example:

x.foo
 ^^^^
x.foo(42)
 ^^^^
x&.foo
 ^^^^^
x[42]
 ^^^^
x += 1
  ^

Example:

Foo::Bar
   ^^^^^

Example:

foo(42)
    ^^
foo 42
    ^^

Example:

foo(42)
^^^
foo 42
^^^

Example:

x[1] += 42
  ^^^^^^^^

Example:

x[1] += 42
 ^^^    (for [])
x[1] += 42
     ^  (for +)
x[1] += 42
 ^^^^^^ (for []=)

Example:

x.foo += 42
         ^^

Example:

x.foo += 42
 ^^^     (for foo)
x.foo += 42
      ^  (for +)
x.foo += 42
 ^^^^^^^ (for foo=)

Example:

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

Example:

x + 1
    ^

Example:

x + 1
  ^
+x
^

Example:

foo
^^^