~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to src/libs/cplusplus/SimpleLexer.h

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#define CPLUSPLUS_SIMPLELEXER_H
31
31
 
32
32
#include <cplusplus/CPlusPlusForwardDeclarations.h>
 
33
#include <cplusplus/Token.h>
33
34
 
34
35
#include <QString>
35
36
#include <QList>
48
49
    bool skipComments() const;
49
50
    void setSkipComments(bool skipComments);
50
51
 
51
 
    bool qtMocRunEnabled() const;
52
 
    void setQtMocRunEnabled(bool enabled);
53
 
 
54
 
    bool objCEnabled() const;
55
 
    void setObjCEnabled(bool onoff);
56
 
 
57
 
    bool cxx0xEnabled() const;
58
 
    void setCxx0xEnabled(bool enabled);
 
52
    LanguageFeatures languageFeatures() const { return _languageFeatures; }
 
53
    void setLanguageFeatures(LanguageFeatures features) { _languageFeatures = features; }
59
54
 
60
55
    bool endedJoined() const;
61
56
 
74
69
 
75
70
private:
76
71
    int _lastState;
 
72
    LanguageFeatures _languageFeatures;
77
73
    bool _skipComments: 1;
78
 
    bool _qtMocRunEnabled: 1;
79
 
    bool _objCEnabled: 1;
80
74
    bool _endedJoined: 1;
81
 
    bool _cxx0xEnabled: 1;
82
75
};
83
76
 
84
77
} // namespace CPlusPlus