Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add references of default parameters and default values of destructuring #65

Merged

Commits on May 10, 2015

  1. Add references of default parameters and default values of destructuring

    - I changed PatternVisitor to collect right-hand nodes (readonly
    subtrees). At Referencer.visitPattern's last, visits the right-hand
    nodes recursively. This logic adds readable references for identifiers
    in default values.
    - Referencer.referencingDefaultValue adds writable references for
    parameters/variables that has its default value. It's similar to
    VariableDeclarator.init.
    - Because there are calling visitPattern twice for same nodes, I added
    options (processing right-hand nodes or not) to visitPattern.
    mysticatea committed May 10, 2015
    Configuration menu
    Copy the full SHA
    23bb40b View commit details
    Browse the repository at this point in the history

Commits on May 16, 2015

  1. Configuration menu
    Copy the full SHA
    706f496 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2015

  1. Configuration menu
    Copy the full SHA
    766ce6c View commit details
    Browse the repository at this point in the history