You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to compile a few top-level statements:
// Just using this namespace as an exampleReflection.addClass(idof<Vec3>(),"Vec3");Reflection.addClassProp(idof<Vec3>(),"x",offsetof<Vec3>("x"),Reflection.F64,0/* idof<T>() if reference*/);
I'm ready to do a lot of trial and error to reduce these down to something that looks like this:
Reflection.addClass(4,"Vec3");// since id is known as a constant
Just need a way to push some statements to be parsed the backlog and this would be relatively easy.
module.exports={afterCompile(parser: Parser): void{// where do I get the class definition for this parameter?parser.managedClasses;// should be useful}}
Thoughts?
The text was updated successfully, but these errors were encountered:
Use-case is dealing with reflection in my testing library. For example, given the following code snippet:
I would like to compile a few top-level statements:
I'm ready to do a lot of trial and error to reduce these down to something that looks like this:
Just need a way to push some statements to be parsed the backlog and this would be relatively easy.
Thoughts?
The text was updated successfully, but these errors were encountered: