TextGen Context objext help

I am generating assembler code from a custom language and need to have a context object to keep up with memory offsets (Only for context to the question). In the example on the capability it shows using HashSet and other Java language concepts, but no import statement (like standard Java). I have attempted several different ways to try to import a HashSet or List and can't find a way to do it. The code complete doesn't help, nothing seems to allow for import. I am sure I am missing something silly, as writing a simple context class to hold a bit of state should not be so difficult. Anyone have any suggestions on how I can import something into the context class?



1 comment
Comment actions Permalink

Did you check ClassifierUnitContext and its use in e.g. ClassConcept_TextGen? Not sure there's documentation how to use TextGen context objects, but you can guess most from this sample.


Please sign in to leave a comment.