add isInternal to Expression
ClosedPublic

Authored by sirgienko on Aug 29 2018, 9:51 PM.

Details

Summary

Remove setInternal() function from Expression, and add isInternal flag to Expression constructor and to evaluateExpression(for forward passing to Expression constructor)

Diff Detail

Repository
R55 Cantor
Branch
add-isInternal-to-Expression
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2377
Build 2395: arc lint + arc unit
sirgienko created this revision.Aug 29 2018, 9:51 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptAug 29 2018, 9:51 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
sirgienko requested review of this revision.Aug 29 2018, 9:51 PM

This makes sense. But let's unify and simplify the parameter naming a bit and let's call the additional new parameter in the constructor simply "internal". The parameter is called "internal" and the functions to get and to set it are called isInternal() and setInternal(), respectively. This would also be similar to the current naming in Session::setInternal().

sirgienko updated this revision to Diff 40745.Aug 31 2018, 9:56 AM

Change flag name from isInternal to internal

sirgienko updated this revision to Diff 40787.Aug 31 2018, 6:41 PM

Change member name from isInternal to internal

asemke accepted this revision.Aug 31 2018, 7:21 PM
This revision is now accepted and ready to land.Aug 31 2018, 7:21 PM
filipesaraiva accepted this revision.Sep 1 2018, 10:39 AM