comparison dwtx/jface/text/rules/Token.d @ 133:7d818bd32d63

Fix ctors to this with gvim regexp
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:29:22 +0200
parents c4fb132a086c
children 000f9136b8f7
comparison
equal deleted inserted replaced
132:77bd3bb3d7b8 133:7d818bd32d63
88 * have any data attached to it. 88 * have any data attached to it.
89 * 89 *
90 * @param type the type of the token 90 * @param type the type of the token
91 * @since 2.0 91 * @since 2.0
92 */ 92 */
93 private Token(int type) { 93 private this(int type) {
94 fType= type; 94 fType= type;
95 fData= null; 95 fData= null;
96 } 96 }
97 97
98 /** 98 /**
99 * Creates a new token which represents neither undefined, whitespace, nor EOF. 99 * Creates a new token which represents neither undefined, whitespace, nor EOF.
100 * The newly created token has the given data attached to it. 100 * The newly created token has the given data attached to it.
101 * 101 *
102 * @param data the data attached to the newly created token 102 * @param data the data attached to the newly created token
103 */ 103 */
104 public Token(Object data) { 104 public this(Object data) {
105 fType= T_OTHER; 105 fType= T_OTHER;
106 fData= data; 106 fData= data;
107 } 107 }
108 108
109 /** 109 /**