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

Enforce variable scoping #266

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 18, 2020

  1. Add scoping rules for variables

    Variable scope
    
    1. Global - defined in init.gyro
    2. File - defined in any .gyro file
    3. For Inline - defined as part of a @for loop innitilizer
    4. For Body - defined in the body of a @for loop
    
    Scoping rules
    
    1. Global - accessible from every where, cannot be redefined any where
    2. File - accessible only from the file, cannot be redefined any where in the file
    3. For Inline - accessible from inside the body of the for, cannot be redefined anywhere in the body
    4. For Body - accessible in the body of the for loop, cannot be redefined anywhere in the body
    deepanjan90 committed Feb 18, 2020
    Configuration menu
    Copy the full SHA
    0f9faea View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. Configuration menu
    Copy the full SHA
    70e174a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa7f3f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

  1. Configuration menu
    Copy the full SHA
    ab6f668 View commit details
    Browse the repository at this point in the history
  2. Reset files to original

    deepanjan90 committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    38cbd24 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2020

  1. Reactor scope validation methods to throw exceptions

    Code reusability
    deepanjan90 committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    7cd1336 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d41a841 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2bcc64 View commit details
    Browse the repository at this point in the history