view dmd/DocComment.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents e28b18c23469
children b0d41ff5e0df
line wrap: on
line source

module dmd.DocComment;

import dmd.common;
import dmd.Array;
import dmd.Section;
import dmd.Macro;
import dmd.Escape;
import dmd.Scope;
import dmd.Dsymbol;
import dmd.OutBuffer;

import dmd.TObject;

class DocComment : TObject
{
    Array sections;		// Section*[]

    Section summary;
    Section copyright;
    Section macros;
    Macro** pmacrotable;
    Escape** pescapetable;

    this()
	{
		register();
		assert(false);
	}

    static DocComment parse(Scope sc, Dsymbol s, ubyte* comment)
	{
		assert(false);
	}
	
    static void parseMacros(Escape** pescapetable, Macro** pmacrotable, ubyte* m, uint mlen)
	{
		assert(false);
	}
	
    static void parseEscapes(Escape** pescapetable, ubyte* textstart, uint textlen)
	{
		assert(false);
	}

    void parseSections(ubyte* comment)
	{
		assert(false);
	}
	
    void writeSections(Scope sc, Dsymbol s, OutBuffer buf)
	{
		assert(false);
	}
}