示例#1
0
        public BooClassBuilder CreateSkeletonClass(string name, LexicalInfo lexicalInfo)
        {
            var builder = CodeBuilder.CreateClass(name);

            builder.Modifiers  |= TypeMemberModifiers.Internal;
            builder.LexicalInfo = lexicalInfo;

            builder.AddBaseType(CodeBuilder.TypeSystemServices.ObjectType);
            DeclareFieldsAndConstructor(builder);
            return(builder);
        }