Translations:Development/KDevelop-PG-Qt Introduction/172/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 09:57, 10 February 2019
Hence you have to implement the member-functions copyCurrentState and restoreState and you have to define a type called ParseState. You do not have to write the declaration of those functions in the header-file, it is generated automatically if you use try/recover. This concept seems to be useful if there are additional states used while parsing. The Java-parser takes usage from it very often. But I do not know a lot about this feature and it seems unimportant for me. (I guess, it is not) I would be happy when somebody could explain it to me.