问题
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