1 // EXTRA_SOURCES: extra-files/ddoc3.ddoc 2 // PERMUTE_ARGS: 3 // REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o- 4 // POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 5 6 /** 7 * Summary 8 * 9 * Description1 10 * 11 * Description2 12 * 13 * Description3 14 * 15 * Macros: 16 * WIKI = StdStream 17 * meemie 18 * ARG0 = $0 19 * ARG1 = $1 20 * ARG2 = $2 21 * ARG3 = $3 22 * PLUS = $+ 23 * TROW = $(TR $(TCOL $1,$+)) 24 * TCOL = $(TD $1) $(TCOL $+) 25 * LPAREN = ( 26 * See_Also: 27 * Things to see also. 28 * 29 * And more things $(BR) 30 * 'arg1, arg2, arg3' : $(ARG0 arg1, arg2, arg3). $(BR) 31 * 'arg2, arg3' : $(PLUS arg1, arg2, arg3). $(BR) 32 * 'arg1' : $(ARG1 arg1, arg2, arg3). $(BR) 33 * 'arg2' : $(ARG2 arg1, arg2, arg3). $(BR) 34 * 'arg3' : $(ARG3 arg1, arg2, arg3). $(BR) 35 */ 36 37 /** 38 * Things to see also $(HELLO). 39 * 40 * $(TABLE 41 * $(TROW 1, 2, 3) 42 * $(TROW 4, 5, 6) 43 * ) 44 * 45 * $(D_CODE 46 $(B pragma)( $(I name) ); 47 $(B pragma)( $(I name) , $(I option) [ $(I option) ] ); 48 $(U $(LPAREN)) 49 ) 50 */ 51 52 /* 53 */ 54 55 module std.test; 56 57 /// A base class for stream exceptions. 58 class StreamException: Exception { 59 /** Construct a StreamException with given error message msg. 60 * Params: 61 * msg = the $(RED red) $(BLUE blue) $(GREEN green) $(YELLOW yellow). 62 * foo = next parameter which is a much longer 63 * message spanning multiple 64 * lines. 65 */ 66 this(string msg, int foo) { super(msg); } 67 68 /********** stars ***************/ 69 int stars; 70 } 71