Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{noformat}
%Java::while(...)
%CPP::while(...)
{noformat}

this way you can load templates from multiple groups.

prompted with ideas from Hartmut Kocher.

{{$templates::name(a={...},...)}} syntax and allow interface to be set in
antlr.g so I can tell statically when they ref a template that is not
defined.  {{$MyTemplates::blort(...)}}  then allow them to define:

{noformat}
templates Java;
templates Debug;
{noformat}

Those are interface names and you have to call setJavaTemplateLib()
and setDebugTemplateLib() just like setTemplateLib() for default lib.
How do you set the interface though for the default lib?

Allow: {{-> Java::fcall(...)}} syntax too.