Changeset View
Changeset View
Standalone View
Standalone View
src/parser/KDbParser_p.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Line(s) | |||||
83 | 83 | | |||
84 | /*! Info used on parsing. */ | 84 | /*! Info used on parsing. */ | ||
85 | class KDB_TESTING_EXPORT KDbParseInfo | 85 | class KDB_TESTING_EXPORT KDbParseInfo | ||
86 | { | 86 | { | ||
87 | public: | 87 | public: | ||
88 | ~KDbParseInfo(); | 88 | ~KDbParseInfo(); | ||
89 | 89 | | |||
90 | //! @return positions of tables/aliases having the same name @a tableOrAliasName. | 90 | //! @return positions of tables/aliases having the same name @a tableOrAliasName. | ||
91 | //! First tries to use information provided by appendPositionForTableOrAliasName(), | ||||
92 | //! then information from the query schema. | ||||
91 | QList<int> tablesAndAliasesForName(const QString &tableOrAliasName) const; | 93 | QList<int> tablesAndAliasesForName(const QString &tableOrAliasName) const; | ||
92 | 94 | | |||
93 | //! @return query schema for this parsing | 95 | //! @return query schema for this parsing | ||
94 | KDbQuerySchema* querySchema() const; | 96 | KDbQuerySchema* querySchema() const; | ||
95 | 97 | | |||
96 | //! @return error message for the parsing process | 98 | //! @return error message for the parsing process | ||
97 | QString errorMessage() const; | 99 | QString errorMessage() const; | ||
98 | 100 | | |||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |