Skip to content

Bring method/local variable distinction to Ruby Scanner #72

Open
@nathany

Description

@nathany

I would like to highlight methods a little differently from local variables. Consider:

  p p    # two method calls
  p = 0  # an assignment
  p p    # a method call and a variable reference

The rules for telling variables and methods in Ruby apart are clear, but not simple to parse.

(unfortunately the forums were taken down, so the link to http://code.licenser.net/boards/4/topics/show/3#Examples-of-separated-versus-shared-storage-in-Ruby is broken)

From Redmine: http://odd-eyed-code.org/issues/75

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions