Does Rascal Java method AST also contain super() Expression for calls to super with arguments?

霸气de小男生 提交于 2019-12-11 06:27:43

问题


When I look at Java method AST declaration in Rascal, I see under Expression \super() node.

However in Java, you can also call super() with parameters. So, I expected to see something like : \super(list[Expression] arguments), but I do not see it.

Is it traced via \methodCall() or in some other way?

I could not try it myself because I get an error when I try to build an AST from a constructor with getMethodASTEclipse() method. I already opened an issue about this getMethodASTEclipse() error in the GitHub.

来源:https://stackoverflow.com/questions/21112464/does-rascal-java-method-ast-also-contain-super-expression-for-calls-to-super-w

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!