diff options
author | Lucie Gérard <lucie.gerard@qt.io> | 2019-08-07 11:20:37 +0200 |
---|---|---|
committer | Lucie Gérard <lucie.gerard@qt.io> | 2019-09-25 11:18:55 +0200 |
commit | fb96051e4200550f5deafae9f2c775d894eb9c7f (patch) | |
tree | 12ed9173841f551f361eb9ca7c9403a17cddd58c /.qmake.conf | |
parent | de313216e9b1412e17b4f95f36c6e3f52c199117 (diff) |
Add VisitCallExpr to the AST visitor
When HandleTranslationUnit is called from the AST consumer
and the visitor function TraverseAST is called, the
VisitCallExpr function is automatically triggered
The translation functions are hold within CallExpression
that's why we visit them
The VisitCallExpr function
-checks that the CallExpression:
-is within the input file we're interested in
-contains a translation function (tr or qtIdTr or translation)
-retrieves and stores the translation information:
-file name
-line number of the translation function
-context
-source
-comment
-plural
-id
Change-Id: I261100102868cb9372b8a4ab5843be97e515212f
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions