Comments (2)
I agree with this issue for ||, and &&. I believe all others are actually calls not a builtin operator. If there are more then I think we should add those as well. Interestingly enough OpAsgnNode does have special nodes for these. It is just not done for OpElement versions?
from jruby-parser.
Two new classes OpElementAsgnOrNode and OpElementAsgnAndNode. These extend OpElementAsgnNode and the same visitor visits all three. instanceof/kind_of? can both be used to discriminate in the visitor. I could add more visitor nodes but let's see how this works first.
from jruby-parser.
Related Issues (20)
- Next, Break, Rescue, RescueBody, Module have inconsistent asserts HOT 1
- `not` is parsed as an operator HOT 5
- Implement stubby lambda node (1.9) HOT 1
- Misses empty expressions in literal array HOT 5
- Doesn't parse hash literal with = at end of key name HOT 1
- 2.0 parser doesn't give call with block nodes the entire source position
- 2.0 parser sometimes reports iters as args HOT 1
- Invoke the 1.8 or 1.9 parser HOT 5
- IndexOutOfBoundsException while rewriting HOT 1
- Parsing rescue statements is wrong for lexical representation
- IndexOutOfBounds with an array node HOT 3
- Push a gem release?
- Parser duplicating nodes HOT 5
- ReWriteVisitor malforms code for argument nodes and symbols HOT 1
- Ruby 2.0 parser fails to parse lambda arrow syntax with space HOT 3
- Fails in lexer with a file using the unicode characters HOT 2
- Parser error with required keyword arguments HOT 1
- mvn package fails with compilation error.
- Beginners question
- Rewrite code case HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jruby-parser.