Skip to content

Bring method/local variable distinction to Ruby Scanner #72

Open
@nathany

Description

@nathany
Contributor

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

Activity

korny

korny commented on Nov 11, 2012

@korny
Member

See also: #89

korny

korny commented on Mar 10, 2013

@korny
Member

We're not even sure how to achieve this, so => Future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @nathany@korny

        Issue actions

          Bring method/local variable distinction to Ruby Scanner · Issue #72 · rubychan/coderay