This project is read-only.

missing HowTo's

Topics: Developer Forum
Sep 12, 2009 at 7:33 PM
Edited Sep 12, 2009 at 7:49 PM


based on "test program\cmc.cs" I have read my source file into a CompilationUnitNode.

Now I extend one of my classes with a interface:

DDW.ClassNode cl in cu.DefaultNamespace.Classes[0];

DDW.Token t = new DDW.Token(DDW.TokenID.Interface);

DDW.TypeNode injectedInterface = new DDW.TypeNode(new DDW.IdentifierExpression("MyInjectedInterface", t))



That works fine, but how I create a (interface) method? QualifiedIdentifierExpression accepted only a Token...?