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
com.epistimis.face.generator directory contains several _XXX_FunctionGenerator.xtend classes. Each of these generates function stubs from FACE PortableComponent and PlatformSpecificComponent definitions. There is a base class CommonFunctionGenerator.xtend that can be used for languages that are similar to C++/Java in how they declare functions/methods.
All of the code generated from these should be consistent with the intent - which can be seen from the IDL bindings (issue #10 ).
Note that code generators should use the same approach as XText: The stub should be generated with an embedded call to a derived class method that needs to be implemented. That derived class method will contain all the manual code. The base class method will always be generated & overwritten. No manual modifications should be made to the base class method.
We can also use code signing to ensure that generated code is not modified.
The text was updated successfully, but these errors were encountered:
com.epistimis.face.generator directory contains several
_XXX_FunctionGenerator.xtend
classes. Each of these generates function stubs from FACE PortableComponent and PlatformSpecificComponent definitions. There is a base classCommonFunctionGenerator.xtend
that can be used for languages that are similar to C++/Java in how they declare functions/methods.All of the code generated from these should be consistent with the intent - which can be seen from the IDL bindings (issue #10 ).
Note that code generators should use the same approach as XText: The stub should be generated with an embedded call to a derived class method that needs to be implemented. That derived class method will contain all the manual code. The base class method will always be generated & overwritten. No manual modifications should be made to the base class method.
We can also use code signing to ensure that generated code is not modified.
The text was updated successfully, but these errors were encountered: