X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8a392978b2d6e7db62cdf6d576e071d70fef9b94..98711170da204fa86f2889672770c6a3feb4c4db:/Driver.hpp diff --git a/Driver.hpp b/Driver.hpp index fbc96d9..efd2bc6 100644 --- a/Driver.hpp +++ b/Driver.hpp @@ -33,6 +33,7 @@ #include "Pooling.hpp" #include "Standard.hpp" +struct CYClassTail; struct CYExpression; struct CYScript; struct CYWord; @@ -53,9 +54,12 @@ class _visible CYDriver { std::stack in_; std::stack return_; + std::stack super_; std::stack template_; std::stack yield_; + std::stack class_; + bool newline_; bool last_; bool next_; @@ -68,7 +72,6 @@ class _visible CYDriver { bool highlight_; enum Condition { - RegExpCondition, XMLContentCondition, XMLTagCondition, }; @@ -124,6 +127,7 @@ class _visible CYDriver { bool Parse(CYMark mark = CYMarkScript); void Replace(CYOptions &options); + void SetRegEx(bool equal); void SetCondition(Condition condition); void PushCondition(Condition condition);