projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2001-08-06 Miguel de Icaza <miguel@ximian.com>
[mono.git]
/
mcs
/
mcs
/
constant.cs
1
namespace CIR {
2
3
using System;
4
5
public class Constant : Expression {
6
public string name;
7
public Expression expr;
8
public string type;
9
10
public const int AllowedModifiers =
11
Modifiers.NEW |
12
Modifiers.PUBLIC |
13
Modifiers.PROTECTED |
14
Modifiers.INTERNAL |
15
Modifiers.PRIVATE;
16
17
public Constant (string type, string name, Expression expr)
18
{
19
this.type = type;
20
this.name = name;
21
this.expr = expr;
22
}
23
24
public void Reduce ()
25
{
26
27
}
28
29
public string Name {
30
get {
31
return name;
32
}
33
}
34
35
public string ConstantType {
36
get {
37
return type;
38
}
39
}
40
41
public Expression Expr {
42
get {
43
return expr;
44
}
45
}
46
}
47
}
48