Changeset View
Changeset View
Standalone View
Standalone View
parser/parsesession.h
Show All 37 Lines | |||||
38 | { | 38 | { | ||
39 | public: | 39 | public: | ||
40 | ParseSession(); | 40 | ParseSession(); | ||
41 | ~ParseSession(); | 41 | ~ParseSession(); | ||
42 | 42 | | |||
43 | void setContents(const QString& contents); | 43 | void setContents(const QString& contents); | ||
44 | void setCurrentDocument(const KDevelop::IndexedString& filename); | 44 | void setCurrentDocument(const KDevelop::IndexedString& filename); | ||
45 | KDevelop::IndexedString currentDocument() const; | 45 | KDevelop::IndexedString currentDocument() const; | ||
46 | bool readFile(const QString& filename, const char* charset = 0); | 46 | bool readFile(const QString& filename, const char* charset = nullptr); | ||
47 | void setDebug(bool); | 47 | void setDebug(bool); | ||
48 | TokenStream* tokenStream() const; | 48 | TokenStream* tokenStream() const; | ||
49 | QString contents() const; | 49 | QString contents() const; | ||
50 | 50 | | |||
51 | bool parse(Php::StartAst**); | 51 | bool parse(Php::StartAst**); | ||
52 | Parser* createParser(int initialState = Parser::HtmlState); | 52 | Parser* createParser(int initialState = Parser::HtmlState); | ||
53 | 53 | | |||
54 | QString symbol(qint64 token) const; | 54 | QString symbol(qint64 token) const; | ||
Show All 37 Lines |