PageRenderTime 51ms CodeModel.GetById 41ms app.highlight 6ms RepoModel.GetById 2ms app.codeStats 0ms

/parsing/d/staticassertunit.d

http://github.com/wilkie/djehuty
D | 34 lines | 20 code | 8 blank | 6 comment | 1 complexity | 18d7d2d39a50a8c7a78267e914e04515 MD5 | raw file
 1/*
 2 * expressionunit.d
 3 *
 4 * This module parses expressions.
 5 *
 6 */
 7
 8module parsing.d.staticassertunit;
 9
10import parsing.parseunit;
11import parsing.token;
12
13import parsing.d.tokens;
14import parsing.d.nodes;
15
16import io.console;
17
18import djehuty;
19
20class StaticAssertUnit : ParseUnit {
21	override bool tokenFound(Token current) {
22		switch (current.type) {
23			default:
24				break;
25		}
26		return true;
27	}
28
29protected:
30	string cur_string = "";
31
32	static const string _common_error_msg = "";
33	static const string[] _common_error_usages = null;
34}