"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/expression.d" between
dmd-2.095.0.tar.gz and dmd-2.095.1.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

expression.d  (dmd-2.095.0):expression.d  (dmd-2.095.1)
skipping to change at line 1790 skipping to change at line 1790
inout(CondExp) isCondExp() { return op == TOK.question ? cast(typeof (return))this : null; } inout(CondExp) isCondExp() { return op == TOK.question ? cast(typeof (return))this : null; }
inout(DefaultInitExp) isDefaultInitExp() { return isDefaultInitOp(op) ? cast(typeof(return))this: null; } inout(DefaultInitExp) isDefaultInitExp() { return isDefaultInitOp(op) ? cast(typeof(return))this: null; }
inout(FileInitExp) isFileInitExp() { return (op == TOK.file || op == TOK.fileFullPath) ? cast(typeof(return))this : null; } inout(FileInitExp) isFileInitExp() { return (op == TOK.file || op == TOK.fileFullPath) ? cast(typeof(return))this : null; }
inout(LineInitExp) isLineInitExp() { return op == TOK.line ? cast( typeof(return))this : null; } inout(LineInitExp) isLineInitExp() { return op == TOK.line ? cast( typeof(return))this : null; }
inout(ModuleInitExp) isModuleInitExp() { return op == TOK.moduleStri ng ? cast(typeof(return))this : null; } inout(ModuleInitExp) isModuleInitExp() { return op == TOK.moduleStri ng ? cast(typeof(return))this : null; }
inout(FuncInitExp) isFuncInitExp() { return op == TOK.functionStri ng ? cast(typeof(return))this : null; } inout(FuncInitExp) isFuncInitExp() { return op == TOK.functionStri ng ? cast(typeof(return))this : null; }
inout(PrettyFuncInitExp) isPrettyFuncInitExp() { return op == TOK.pretty Function ? cast(typeof(return))this : null; } inout(PrettyFuncInitExp) isPrettyFuncInitExp() { return op == TOK.pretty Function ? cast(typeof(return))this : null; }
inout(ClassReferenceExp) isClassReferenceExp() { return op == TOK.classR eference ? cast(typeof(return))this : null; } inout(ClassReferenceExp) isClassReferenceExp() { return op == TOK.classR eference ? cast(typeof(return))this : null; }
} }
inout(BinAssignExp) isBinAssignExp() pure inout nothrow @nogc
{
return null;
}
override void accept(Visitor v) override void accept(Visitor v)
{ {
v.visit(this); v.visit(this);
} }
} }
/*********************************************************** /***********************************************************
*/ */
extern (C++) final class IntegerExp : Expression extern (C++) final class IntegerExp : Expression
{ {
skipping to change at line 4610 skipping to change at line 4615
// Lvalue-ness will be handled in glue layer. // Lvalue-ness will be handled in glue layer.
return this; return this;
} }
override final Expression modifiableLvalue(Scope* sc, Expression e) override final Expression modifiableLvalue(Scope* sc, Expression e)
{ {
// should check e1.checkModifiable() ? // should check e1.checkModifiable() ?
return toLvalue(sc, this); return toLvalue(sc, this);
} }
override inout(BinAssignExp) isBinAssignExp() pure inout nothrow @nogc
{
return this;
}
override void accept(Visitor v) override void accept(Visitor v)
{ {
v.visit(this); v.visit(this);
} }
} }
/*********************************************************** /***********************************************************
* https://dlang.org/spec/expression.html#mixin_expressions * https://dlang.org/spec/expression.html#mixin_expressions
*/ */
extern (C++) final class MixinExp : Expression extern (C++) final class MixinExp : Expression
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)