OSDN Git Service

QmlJS: Improve tests/tools/qml-ast2dot.
[qt-creator-jp/qt-creator-jp.git] / src / libs / qmljs / qmljsdocument.h
index e5e26e6..65c500c 100644 (file)
@@ -71,6 +71,7 @@ public:
     ~Document();
 
     static Document::Ptr create(const QString &fileName, Language language);
+    static Language guessLanguageFromSuffix(const QString &fileName);
 
     Document::Ptr ptr() const;