I am currently implementing a JavaScript Architecture (based on J2V8) for OC and now I am stuck at implementing "component.methods(string)" because in Java I see Machine.methods(), which would give me what I want, but wants either a Value or an Environment object and I do not see a way of getting either of these by the component address.
As I do not know Scala I am also not able to look up how it is done in the LUA implementation because I simply do not understand that code.
How to get the available methods of a component on Java side
in Programming
Posted
Hi there,
I am currently implementing a JavaScript Architecture (based on J2V8) for OC and now I am stuck at implementing "component.methods(string)" because in Java I see Machine.methods(), which would give me what I want, but wants either a Value or an Environment object and I do not see a way of getting either of these by the component address.
As I do not know Scala I am also not able to look up how it is done in the LUA implementation because I simply do not understand that code.