Home | History | Annotate | Download | only in dmd

Lines Matching refs:Modifiable

92 enum Modifiable
94 /// Not modifiable
96 /// Modifiable (the type is mutable)
98 /// Modifiable because it is initialization
1002 // See if this expression is a modifiable lvalue (i.e. not const)
1003 if (checkModifiable(this, sc) == Modifiable.yes)
3726 // See if this expression is a modifiable lvalue (i.e. not const)
5539 error("slice expression `%s` is not a modifiable lvalue", toChars());
5824 bool modifiable = false; // assume it is an rvalue
5886 modifiable = true;
6714 error("conditional expression `%s` is not a modifiable lvalue", toChars());
7046 * Whether the type is modifiable
7048 extern(D) Modifiable checkModifiable(Expression exp, Scope* sc, ModifyFlags flag = ModifyFlags.none)
7116 if (modifyLevel == Modifiable.initialization)
7122 return Modifiable.initialization;
7124 return Modifiable.yes;
7147 return Modifiable.yes;
7158 return Modifiable.yes;
7173 return Modifiable.yes;
7177 if (condExp.e1.checkModifiable(sc, flag) != Modifiable.no
7178 && condExp.e2.checkModifiable(sc, flag) != Modifiable.no)
7179 return Modifiable.yes;
7180 return Modifiable.no;
7183 return exp.type ? Modifiable.yes : Modifiable.no; // default modifiable