aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/itemreaderastvisitor.h
Commit message (Collapse)AuthorAgeFilesLines
* add a simple Version classJoerg Bornemann2014-07-211-2/+6
| | | | | | | | This class replaces the Version struct in setup-qt and the ImportVersion class of the loader. Change-Id: Ic65eaf62de44ce0c082fe805431463defce1fe3b Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Pass source location as const referenceOrgad Shaneh2014-05-211-1/+1
| | | | | Change-Id: Ib0b8298ae178d1e80c4f0c81564ecd4a44fd917e Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* remove JSSourceValue::Alternative::conditionScopeItemJoerg Bornemann2014-03-311-2/+1
| | | | | | | | | | | | | | | | | This member held the scope item for the condition of JSSourceValue alternatives (Properties items). However, the condition scope is always the same as the scope item of the JSSourceValue itself. The missing part was that we need to make sure that the scopes always have a valid FileContext pointer. Removing this member made it possible to remove ItemReaderResult::conditionalValuesPerScopeItem as well. This patch will enable us to implement item inheritance by using the prototype chain. Change-Id: I77e976cdfc5af072e35d430b055b6ae1fac930a4 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Do not store CodeLocations in JSSourceValue objects.Christian Kandeler2014-03-261-1/+1
| | | | | | | | | The information is partly redundant, as we already know the file path. Set only line and column info instead. This lowers peak memory use by ~2% with little effort. Change-Id: I7c8b34aa9a026a6e8cf3d06e5caef5ceeae11270 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* turn JSSourceValue::m_sourceCode into a QStringRefJoerg Bornemann2014-03-251-4/+2
| | | | | Change-Id: Ie79c4dc2cc998558f826133a2a8bf08a73190f2d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* rename mergeItem to inheritItemJoerg Bornemann2014-03-251-1/+1
| | | | | Change-Id: I21ad394076a7f2b2b2a1ff8892d427991e5613e4 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Move Qt profile setup into a dedicated library.Christian Kandeler2014-01-101-0/+93
Otherwise all changes to the implementation will have to be duplicated in IDEs. Change-Id: I61e6d4fa1ee9b724eb5d9de9f233dc915a6c8bc3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>