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

Implement #new long form #190

Open
3 tasks
Mouvedia opened this issue Nov 6, 2012 · 0 comments
Open
3 tasks

Implement #new long form #190

Mouvedia opened this issue Nov 6, 2012 · 0 comments
Assignees
Labels
Milestone

Comments

@Mouvedia
Copy link
Member

Mouvedia commented Nov 6, 2012

#new @type name { }

//anonymous
#new @type { }

//@container
#new @container name { }
//is equivalent to
#new name { }

//anonymous @container
#new @container { }
//is equivalent to
#new { }

//multiple elements
#new @container elementA & elementB { }
//is equivalent to
#new elementA & elementB { }

If a non-container object is used it enables type specific properties in the block.

  • & notation
  • implement long form for @container elements
  • support long form for other type of elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants