Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-116648

qmldom claims to handle .js files but doesn't

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.9
    • 6.5.2
    • QML: Tooling
    • None
    • All

    Description

      qmldom's help text specifies that .qml and .js files can be parsed.

      However, running it with --dump-ast on js files yields an error of not being able to detect the filetype.

       

      I understand that this may not have been in scope yet. Maybe raising this a as bug is a bit overkill. Feel free to close, but I am also curious if you have any suggestions as to how I could obtain an AST for a .js or .mjs file via qmldom.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtqmlteam Qt Qml Team User
            narcoticv Sander Vocke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes