File src/ColorCane.hpp changed (mode: 100644) (index 9c817ef..7fda6c3) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__COLORCANE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__COLORCANE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_COLORCANE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_COLORCANE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/utility/string_ref.hpp> |
#include <boost/utility/string_ref.hpp> |
21 |
21 |
|
|
|
... |
... |
private: |
73 |
73 |
Pieces pieces; // List of pieces. |
Pieces pieces; // List of pieces. |
74 |
74 |
}; |
}; |
75 |
75 |
|
|
76 |
|
#endif // ZOGRASCOPE__COLORCANE_HPP__ |
|
|
76 |
|
#endif // ZOGRASCOPE_COLORCANE_HPP_ |
File src/ColorScheme.hpp changed (mode: 100644) (index cf6e252..e5eaeb2) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__COLORSCHEME_HPP__ |
|
18 |
|
#define ZOGRASCOPE__COLORSCHEME_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_COLORSCHEME_HPP_ |
|
18 |
|
#define ZOGRASCOPE_COLORSCHEME_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <array> |
#include <array> |
21 |
21 |
|
|
|
... |
... |
private: |
35 |
35 |
static_cast<std::size_t>(ColorGroup::ColorGroupCount)> groups; |
static_cast<std::size_t>(ColorGroup::ColorGroupCount)> groups; |
36 |
36 |
}; |
}; |
37 |
37 |
|
|
38 |
|
#endif // ZOGRASCOPE__COLORSCHEME_HPP__ |
|
|
38 |
|
#endif // ZOGRASCOPE_COLORSCHEME_HPP_ |
File src/Highlighter.hpp changed (mode: 100644) (index f61428f..b46f9e4) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__HIGHLIGHTER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__HIGHLIGHTER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_HIGHLIGHTER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_HIGHLIGHTER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
private: |
131 |
131 |
// diffables with original color. |
// diffables with original color. |
132 |
132 |
}; |
}; |
133 |
133 |
|
|
134 |
|
#endif // ZOGRASCOPE__HIGHLIGHTER_HPP__ |
|
|
134 |
|
#endif // ZOGRASCOPE_HIGHLIGHTER_HPP_ |
File src/Language.hpp changed (mode: 100644) (index 65c327a..94f27a5) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__LANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__LANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_LANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_LANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
public: |
115 |
115 |
bool hasMoveableItems(const Node *x) const; |
bool hasMoveableItems(const Node *x) const; |
116 |
116 |
}; |
}; |
117 |
117 |
|
|
118 |
|
#endif // ZOGRASCOPE__LANGUAGE_HPP__ |
|
|
118 |
|
#endif // ZOGRASCOPE_LANGUAGE_HPP_ |
File src/LeafRange.hpp changed (mode: 100644) (index 29d4f6a..f8c8ea2) |
14 |
14 |
// You should have received a copy of the GNU General Public License |
// You should have received a copy of the GNU General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__LEAFRANGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__LEAFRANGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_LEAFRANGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_LEAFRANGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <algorithm> |
#include <algorithm> |
21 |
21 |
#include <iterator> |
#include <iterator> |
|
... |
... |
public: |
118 |
118 |
{ } |
{ } |
119 |
119 |
}; |
}; |
120 |
120 |
|
|
121 |
|
#endif // ZOGRASCOPE__LEAFRANGE_HPP__ |
|
|
121 |
|
#endif // ZOGRASCOPE_LEAFRANGE_HPP_ |
File src/LexerData.hpp changed (mode: 100644) (index fbb7089..d39a18a) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__LEXERDATA_HPP__ |
|
18 |
|
#define ZOGRASCOPE__LEXERDATA_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_LEXERDATA_HPP_ |
|
18 |
|
#define ZOGRASCOPE_LEXERDATA_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstddef> |
#include <cstddef> |
21 |
21 |
|
|
|
... |
... |
private: |
46 |
46 |
const char *finish; |
const char *finish; |
47 |
47 |
}; |
}; |
48 |
48 |
|
|
49 |
|
#endif // ZOGRASCOPE__LEXERDATA_HPP__ |
|
|
49 |
|
#endif // ZOGRASCOPE_LEXERDATA_HPP_ |
File src/NodeRange.hpp changed (mode: 100644) (index cf7dbba..39c32f5) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__NODERANGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__NODERANGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_NODERANGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_NODERANGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <algorithm> |
#include <algorithm> |
21 |
21 |
#include <iterator> |
#include <iterator> |
|
... |
... |
public: |
116 |
116 |
{ } |
{ } |
117 |
117 |
}; |
}; |
118 |
118 |
|
|
119 |
|
#endif // ZOGRASCOPE__NODERANGE_HPP__ |
|
|
119 |
|
#endif // ZOGRASCOPE_NODERANGE_HPP_ |
File src/Printer.hpp changed (mode: 100644) (index 5681a82..09bd747) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__PRINTER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__PRINTER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_PRINTER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_PRINTER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <iosfwd> |
#include <iosfwd> |
21 |
21 |
#include <string> |
#include <string> |
|
... |
... |
private: |
61 |
61 |
std::vector<Header> headers; // Table headers. |
std::vector<Header> headers; // Table headers. |
62 |
62 |
}; |
}; |
63 |
63 |
|
|
64 |
|
#endif // ZOGRASCOPE__PRINTER_HPP__ |
|
|
64 |
|
#endif // ZOGRASCOPE_PRINTER_HPP_ |
File src/STree.hpp changed (mode: 100644) (index 907138b..4b5a3a5) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__STREE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__STREE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_STREE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_STREE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
|
|
|
... |
... |
private: |
66 |
66 |
SNode *root; |
SNode *root; |
67 |
67 |
}; |
}; |
68 |
68 |
|
|
69 |
|
#endif // ZOGRASCOPE__STREE_HPP__ |
|
|
69 |
|
#endif // ZOGRASCOPE_STREE_HPP_ |
File src/TermHighlighter.hpp changed (mode: 100644) (index db44467..6dcdee2) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TERMHIGHLIGHTER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TERMHIGHLIGHTER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TERMHIGHLIGHTER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TERMHIGHLIGHTER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
|
|
|
... |
... |
private: |
45 |
45 |
ColorScheme cs; // Terminal color scheme. |
ColorScheme cs; // Terminal color scheme. |
46 |
46 |
}; |
}; |
47 |
47 |
|
|
48 |
|
#endif // ZOGRASCOPE__TERMHIGHLIGHTER_HPP__ |
|
|
48 |
|
#endif // ZOGRASCOPE_TERMHIGHLIGHTER_HPP_ |
File src/TreeBuilder.hpp changed (mode: 100644) (index 1702dbf..4bbc374) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TREEBUILDER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TREEBUILDER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TREEBUILDER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TREEBUILDER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/range/adaptor/reversed.hpp> |
#include <boost/range/adaptor/reversed.hpp> |
21 |
21 |
|
|
|
... |
... |
private: |
221 |
221 |
bool failed = false; |
bool failed = false; |
222 |
222 |
}; |
}; |
223 |
223 |
|
|
224 |
|
#endif // ZOGRASCOPE__TREEBUILDER_HPP__ |
|
|
224 |
|
#endif // ZOGRASCOPE_TREEBUILDER_HPP_ |
File src/align.hpp changed (mode: 100644) (index f20ddec..e29e1ce) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__ALIGN_HPP__ |
|
18 |
|
#define ZOGRASCOPE__ALIGN_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_ALIGN_HPP_ |
|
18 |
|
#define ZOGRASCOPE_ALIGN_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include "utils/strings.hpp" |
#include "utils/strings.hpp" |
21 |
21 |
|
|
|
... |
... |
private: |
74 |
74 |
// Generates alignment information describing two sequences. |
// Generates alignment information describing two sequences. |
75 |
75 |
std::vector<DiffLine> makeDiff(DiffSource &&l, DiffSource &&r); |
std::vector<DiffLine> makeDiff(DiffSource &&l, DiffSource &&r); |
76 |
76 |
|
|
77 |
|
#endif // ZOGRASCOPE__ALIGN_HPP__ |
|
|
77 |
|
#endif // ZOGRASCOPE_ALIGN_HPP_ |
File src/c/C11Language.hpp changed (mode: 100644) (index 6418a9c..7a7bbf0) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__C__C11LANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__C__C11LANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_C_C11LANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_C_C11LANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <vector> |
#include <vector> |
21 |
21 |
|
|
|
... |
... |
private: |
87 |
87 |
std::vector<Type> map; // Static token-type to Type map. |
std::vector<Type> map; // Static token-type to Type map. |
88 |
88 |
}; |
}; |
89 |
89 |
|
|
90 |
|
#endif // ZOGRASCOPE__C__C11LANGUAGE_HPP__ |
|
|
90 |
|
#endif // ZOGRASCOPE_C_C11LANGUAGE_HPP_ |
File src/c/C11LexerData.hpp changed (mode: 100644) (index 9f73a28..195d21f) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__C__LEXERDATA_HPP__ |
|
18 |
|
#define ZOGRASCOPE__C__LEXERDATA_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_C_C11LEXERDATA_HPP_ |
|
18 |
|
#define ZOGRASCOPE_C_C11LEXERDATA_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstddef> |
#include <cstddef> |
21 |
21 |
#include <cstring> |
#include <cstring> |
|
... |
... |
struct C11LexerData : LexerData |
43 |
43 |
{ } |
{ } |
44 |
44 |
}; |
}; |
45 |
45 |
|
|
46 |
|
#endif // ZOGRASCOPE__C__LEXERDATA_HPP__ |
|
|
46 |
|
#endif // ZOGRASCOPE_C_C11LEXERDATA_HPP_ |
File src/c/C11SType.hpp changed (mode: 100644) (index 781884a..3023bf1) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__C__C11STYPE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__C__C11STYPE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_C_C11STYPE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_C_C11STYPE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
operator-(SType stype) |
100 |
100 |
|
|
101 |
101 |
} |
} |
102 |
102 |
|
|
103 |
|
#endif // ZOGRASCOPE__C__C11STYPE_HPP__ |
|
|
103 |
|
#endif // ZOGRASCOPE_C_C11STYPE_HPP_ |
File src/change-distilling.hpp changed (mode: 100644) (index 8641662..5adc30e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__CHANGE_DISTILLING_HPP__ |
|
18 |
|
#define ZOGRASCOPE__CHANGE_DISTILLING_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_CHANGE_DISTILLING_HPP_ |
|
18 |
|
#define ZOGRASCOPE_CHANGE_DISTILLING_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
private: |
92 |
92 |
std::vector<DiceString> dice2; // DiceString of corresponding po2[i]->label. |
std::vector<DiceString> dice2; // DiceString of corresponding po2[i]->label. |
93 |
93 |
}; |
}; |
94 |
94 |
|
|
95 |
|
#endif // ZOGRASCOPE__CHANGE_DISTILLING_HPP__ |
|
|
95 |
|
#endif // ZOGRASCOPE_CHANGE_DISTILLING_HPP_ |
File src/colors.hpp changed (mode: 100644) (index 3df6257..3fc67b6) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__COLORS_HPP__ |
|
18 |
|
#define ZOGRASCOPE__COLORS_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_COLORS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_COLORS_HPP_ |
19 |
19 |
|
|
20 |
20 |
enum class ColorGroup |
enum class ColorGroup |
21 |
21 |
{ |
{ |
|
... |
... |
enum class ColorGroup |
59 |
59 |
ColorGroupCount |
ColorGroupCount |
60 |
60 |
}; |
}; |
61 |
61 |
|
|
62 |
|
#endif // ZOGRASCOPE__COLORS_HPP__ |
|
|
62 |
|
#endif // ZOGRASCOPE_COLORS_HPP_ |
File src/compare.hpp changed (mode: 100644) (index 93ee0b6..3721253) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__COMPARE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__COMPARE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_COMPARE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_COMPARE_HPP_ |
19 |
19 |
|
|
20 |
20 |
class TimeReport; |
class TimeReport; |
21 |
21 |
class Tree; |
class Tree; |
22 |
22 |
|
|
23 |
23 |
void compare(Tree &T1, Tree &T2, TimeReport &tr, bool coarse, bool skipRefine); |
void compare(Tree &T1, Tree &T2, TimeReport &tr, bool coarse, bool skipRefine); |
24 |
24 |
|
|
25 |
|
#endif // ZOGRASCOPE__COMPARE_HPP__ |
|
|
25 |
|
#endif // ZOGRASCOPE_COMPARE_HPP_ |
File src/decoration.hpp changed (mode: 100644) (index 9e61b81..1742ecf) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__DECORATION_HPP__ |
|
18 |
|
#define ZOGRASCOPE__DECORATION_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_DECORATION_HPP_ |
|
18 |
|
#define ZOGRASCOPE_DECORATION_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <functional> |
#include <functional> |
21 |
21 |
#include <iosfwd> |
#include <iosfwd> |
|
... |
... |
namespace literals { |
582 |
582 |
|
|
583 |
583 |
} |
} |
584 |
584 |
|
|
585 |
|
#endif // ZOGRASCOPE__DECORATION_HPP__ |
|
|
585 |
|
#endif // ZOGRASCOPE_DECORATION_HPP_ |
File src/integration.hpp changed (mode: 100644) (index 0afae19..1a043f9) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__INTEGRATION_HPP__ |
|
18 |
|
#define ZOGRASCOPE__INTEGRATION_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_INTEGRATION_HPP_ |
|
18 |
|
#define ZOGRASCOPE_INTEGRATION_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <memory> |
#include <memory> |
21 |
21 |
#include <string> |
#include <string> |
|
... |
... |
std::pair<unsigned int, unsigned int> getTerminalSize(); |
93 |
93 |
std::string readCommandOutput(std::vector<std::string> cmd, |
std::string readCommandOutput(std::vector<std::string> cmd, |
94 |
94 |
const std::string &input); |
const std::string &input); |
95 |
95 |
|
|
96 |
|
#endif // ZOGRASCOPE__INTEGRATION_HPP__ |
|
|
96 |
|
#endif // ZOGRASCOPE_INTEGRATION_HPP_ |
File src/make/MakeLanguage.hpp changed (mode: 100644) (index 995bc36..eb068b1) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__MAKE__MAKELANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__MAKE__MAKELANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_MAKE_MAKELANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_MAKE_MAKELANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <vector> |
#include <vector> |
21 |
21 |
|
|
|
... |
... |
private: |
87 |
87 |
std::vector<Type> map; // Static token-type to Type map. |
std::vector<Type> map; // Static token-type to Type map. |
88 |
88 |
}; |
}; |
89 |
89 |
|
|
90 |
|
#endif // ZOGRASCOPE__MAKE__MAKELANGUAGE_HPP__ |
|
|
90 |
|
#endif // ZOGRASCOPE_MAKE_MAKELANGUAGE_HPP_ |
File src/make/MakeLexerData.hpp changed (mode: 100644) (index d7c710f..b80610a) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__MAKE__MAKELEXERDATA_HPP__ |
|
18 |
|
#define ZOGRASCOPE__MAKE__MAKELEXERDATA_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_MAKE_MAKELEXERDATA_HPP_ |
|
18 |
|
#define ZOGRASCOPE_MAKE_MAKELEXERDATA_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstddef> |
#include <cstddef> |
21 |
21 |
#include <cstring> |
#include <cstring> |
|
... |
... |
struct MakeLexerData : LexerData |
64 |
64 |
{ } |
{ } |
65 |
65 |
}; |
}; |
66 |
66 |
|
|
67 |
|
#endif // ZOGRASCOPE__MAKE__MAKELEXERDATA_HPP__ |
|
|
67 |
|
#endif // ZOGRASCOPE_MAKE_MAKELEXERDATA_HPP_ |
File src/make/MakeSType.hpp changed (mode: 100644) (index b7b949e..f363776) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__MAKE__MAKESTYPE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__MAKE__MAKESTYPE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_MAKE_MAKESTYPE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_MAKE_MAKESTYPE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
operator-(SType stype) |
64 |
64 |
|
|
65 |
65 |
} |
} |
66 |
66 |
|
|
67 |
|
#endif // ZOGRASCOPE__MAKE__MAKESTYPE_HPP__ |
|
|
67 |
|
#endif // ZOGRASCOPE_MAKE_MAKESTYPE_HPP_ |
File src/mtypes.hpp changed (mode: 100644) (index 309344d..32d789e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__MTYPES_HPP__ |
|
18 |
|
#define ZOGRASCOPE__MTYPES_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_MTYPES_HPP_ |
|
18 |
|
#define ZOGRASCOPE_MTYPES_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
std::ostream & operator<<(std::ostream &os, MType mtype); |
41 |
41 |
// Checks whether nodes of the meta-type can nest. |
// Checks whether nodes of the meta-type can nest. |
42 |
42 |
bool canNest(MType mtype); |
bool canNest(MType mtype); |
43 |
43 |
|
|
44 |
|
#endif // ZOGRASCOPE__MTYPES_HPP__ |
|
|
44 |
|
#endif // ZOGRASCOPE_MTYPES_HPP_ |
File src/srcml/SrcmlTransformer.hpp changed (mode: 100644) (index 2ccc876..4ecb0c5) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__SRCML__SRCMLTRANSFORMER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__SRCML__SRCMLTRANSFORMER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_SRCML_SRCMLTRANSFORMER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_SRCML_SRCMLTRANSFORMER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <unordered_map> |
#include <unordered_map> |
|
... |
... |
private: |
75 |
75 |
int inCppDirective; // Level of cpp nesting. |
int inCppDirective; // Level of cpp nesting. |
76 |
76 |
}; |
}; |
77 |
77 |
|
|
78 |
|
#endif // ZOGRASCOPE__SRCML__SRCMLTRANSFORMER_HPP__ |
|
|
78 |
|
#endif // ZOGRASCOPE_SRCML_SRCMLTRANSFORMER_HPP_ |
File src/srcml/cxx/SrcmlCxxLanguage.hpp changed (mode: 100644) (index 05e94c8..e2a1c44) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__SRCML__CXX__SRCMLCXXLANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__SRCML__CXX__SRCMLCXXLANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_SRCML_CXX_SRCMLCXXLANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_SRCML_CXX_SRCMLCXXLANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <unordered_map> |
#include <unordered_map> |
21 |
21 |
#include <unordered_set> |
#include <unordered_set> |
|
... |
... |
private: |
89 |
89 |
std::unordered_set<std::string> keywords; // List of reserved keywords. |
std::unordered_set<std::string> keywords; // List of reserved keywords. |
90 |
90 |
}; |
}; |
91 |
91 |
|
|
92 |
|
#endif // ZOGRASCOPE__SRCML__CXX__SRCMLCXXLANGUAGE_HPP__ |
|
|
92 |
|
#endif // ZOGRASCOPE_SRCML_CXX_SRCMLCXXLANGUAGE_HPP_ |
File src/srcml/cxx/SrcmlCxxSType.hpp changed (mode: 100644) (index 2acf0c5..9a0bdd0) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__SRCML__CXX__SRCMLCXXSTYPE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__SRCML__CXX__SRCMLCXXSTYPE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_SRCML_CXX_SRCMLCXXSTYPE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_SRCML_CXX_SRCMLCXXSTYPE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
operator-(SType stype) |
162 |
162 |
|
|
163 |
163 |
} |
} |
164 |
164 |
|
|
165 |
|
#endif // ZOGRASCOPE__SRCML__CXX__SRCMLCXXSTYPE_HPP__ |
|
|
165 |
|
#endif // ZOGRASCOPE_SRCML_CXX_SRCMLCXXSTYPE_HPP_ |
File src/tooling/Config.hpp changed (mode: 100644) (index 7f5e14d..7cf3e12) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__CONFIG_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__CONFIG_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_CONFIG_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_CONFIG_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/filesystem/path.hpp> |
#include <boost/filesystem/path.hpp> |
21 |
21 |
|
|
|
... |
... |
private: |
73 |
73 |
std::vector<std::pair<MatchExpr, Attrs>> attrRules; |
std::vector<std::pair<MatchExpr, Attrs>> attrRules; |
74 |
74 |
}; |
}; |
75 |
75 |
|
|
76 |
|
#endif // ZOGRASCOPE__TOOLING__CONFIG_HPP__ |
|
|
76 |
|
#endif // ZOGRASCOPE_TOOLING_CONFIG_HPP_ |
File src/tooling/Finder.hpp changed (mode: 100644) (index 5dc25e2..f0ba837) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__FINDER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__FINDER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_FINDER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_FINDER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <deque> |
#include <deque> |
21 |
21 |
#include <string> |
#include <string> |
|
... |
... |
private: |
53 |
53 |
Grepper grepper; // Finder of consecutive tokens. |
Grepper grepper; // Finder of consecutive tokens. |
54 |
54 |
}; |
}; |
55 |
55 |
|
|
56 |
|
#endif // ZOGRASCOPE__TOOLING__FINDER_HPP__ |
|
|
56 |
|
#endif // ZOGRASCOPE_TOOLING_FINDER_HPP_ |
File src/tooling/FunctionAnalyzer.hpp changed (mode: 100644) (index 55b5b2b..84e4680) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__FUNCTIONANALYZER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__FUNCTIONANALYZER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_FUNCTIONANALYZER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_FUNCTIONANALYZER_HPP_ |
19 |
19 |
|
|
20 |
20 |
class Language; |
class Language; |
21 |
21 |
class Node; |
class Node; |
|
... |
... |
private: |
38 |
38 |
const Language ⟨ // Language of the functions being analyzed. |
const Language ⟨ // Language of the functions being analyzed. |
39 |
39 |
}; |
}; |
40 |
40 |
|
|
41 |
|
#endif // ZOGRASCOPE__TOOLING__FUNCTIONANALYZER_HPP__ |
|
|
41 |
|
#endif // ZOGRASCOPE_TOOLING_FUNCTIONANALYZER_HPP_ |
File src/tooling/Grepper.hpp changed (mode: 100644) (index 41e3258..3ccfc3c) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__GREPPER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__GREPPER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_GREPPER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_GREPPER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/algorithm/string/predicate.hpp> |
#include <boost/algorithm/string/predicate.hpp> |
21 |
21 |
#include <boost/utility/string_ref.hpp> |
#include <boost/utility/string_ref.hpp> |
|
... |
... |
Grepper::getMatched() const |
230 |
230 |
return matched; |
return matched; |
231 |
231 |
} |
} |
232 |
232 |
|
|
233 |
|
#endif // ZOGRASCOPE__TOOLING__GREPPER_HPP__ |
|
|
233 |
|
#endif // ZOGRASCOPE_TOOLING_GREPPER_HPP_ |
File src/tooling/Matcher.hpp changed (mode: 100644) (index f2d5a71..a9df76c) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__MATCHER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__MATCHER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_MATCHER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_MATCHER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
Matcher::getMatched() const |
113 |
113 |
return matched; |
return matched; |
114 |
114 |
} |
} |
115 |
115 |
|
|
116 |
|
#endif // ZOGRASCOPE__TOOLING__MATCHER_HPP__ |
|
|
116 |
|
#endif // ZOGRASCOPE_TOOLING_MATCHER_HPP_ |
File src/tooling/Traverser.hpp changed (mode: 100644) (index b559757..d970efb) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__TRAVERSER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__TRAVERSER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_TRAVERSER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_TRAVERSER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/filesystem/path.hpp> |
#include <boost/filesystem/path.hpp> |
21 |
21 |
|
|
|
... |
... |
private: |
54 |
54 |
std::function<callbackPrototype> callback; // Invoked per file. |
std::function<callbackPrototype> callback; // Invoked per file. |
55 |
55 |
}; |
}; |
56 |
56 |
|
|
57 |
|
#endif // ZOGRASCOPE__TOOLING__TRAVERSER_HPP__ |
|
|
57 |
|
#endif // ZOGRASCOPE_TOOLING_TRAVERSER_HPP_ |
File src/tooling/common.hpp changed (mode: 100644) (index a9cdbaa..1c1bf46) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLING__COMMON_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLING__COMMON_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLING_COMMON_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLING_COMMON_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <vector> |
#include <vector> |
|
... |
... |
void dumpTree(const CommonArgs &args, Tree &tree); |
123 |
123 |
|
|
124 |
124 |
void dumpTrees(const CommonArgs &args, Tree &treeA, Tree &treeB); |
void dumpTrees(const CommonArgs &args, Tree &treeA, Tree &treeB); |
125 |
125 |
|
|
126 |
|
#endif // ZOGRASCOPE__TOOLING__COMMON_HPP__ |
|
|
126 |
|
#endif // ZOGRASCOPE_TOOLING_COMMON_HPP_ |
File src/tree-edit-distance.hpp changed (mode: 100644) (index 7f025ff..66269f8) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TREE_EDIT_DISTANCE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TREE_EDIT_DISTANCE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TREE_EDIT_DISTANCE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TREE_EDIT_DISTANCE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
|
|
|
... |
... |
void printTree(const std::string &name, Tree &tree); |
26 |
26 |
|
|
27 |
27 |
int ted(Node &T1, Node &T2); |
int ted(Node &T1, Node &T2); |
28 |
28 |
|
|
29 |
|
#endif // ZOGRASCOPE__TREE_EDIT_DISTANCE_HPP__ |
|
|
29 |
|
#endif // ZOGRASCOPE_TREE_EDIT_DISTANCE_HPP_ |
File src/tree.hpp changed (mode: 100644) (index 12175ed..7e87f0e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TREE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TREE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TREE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TREE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/utility/string_ref.hpp> |
#include <boost/utility/string_ref.hpp> |
21 |
21 |
|
|
|
... |
... |
bool canForceLeafMatch(const Node *x, const Node *y); |
216 |
216 |
// Dumps tree defined by the node into specified stream for debugging purposes. |
// Dumps tree defined by the node into specified stream for debugging purposes. |
217 |
217 |
void dumpTree(std::ostream &os, const Node *node, const Language *lang); |
void dumpTree(std::ostream &os, const Node *node, const Language *lang); |
218 |
218 |
|
|
219 |
|
#endif // ZOGRASCOPE__TREE_HPP__ |
|
|
219 |
|
#endif // ZOGRASCOPE_TREE_HPP_ |
File src/ts/TSTransformer.hpp changed (mode: 100644) (index 1a8b1f9..b8935fd) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TS__TSTRANSFORMER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TS__TSTRANSFORMER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TS_TSTRANSFORMER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TS_TSTRANSFORMER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <unordered_map> |
#include <unordered_map> |
|
... |
... |
private: |
73 |
73 |
bool debug; // Debugging state. |
bool debug; // Debugging state. |
74 |
74 |
}; |
}; |
75 |
75 |
|
|
76 |
|
#endif // ZOGRASCOPE__TS__TSTRANSFORMER_HPP__ |
|
|
76 |
|
#endif // ZOGRASCOPE_TS_TSTRANSFORMER_HPP_ |
File src/ts/bash/TSBashLanguage.hpp changed (mode: 100644) (index 892adee..a2f8ce7) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TS__BASH__TSBASHLANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TS__BASH__TSBASHLANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TS_BASH_TSBASHLANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TS_BASH_TSBASHLANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <unordered_map> |
#include <unordered_map> |
21 |
21 |
#include <unordered_set> |
#include <unordered_set> |
|
... |
... |
private: |
93 |
93 |
std::unordered_set<std::string> badNodes; // Lists nodes to ignore. |
std::unordered_set<std::string> badNodes; // Lists nodes to ignore. |
94 |
94 |
}; |
}; |
95 |
95 |
|
|
96 |
|
#endif // ZOGRASCOPE__TS__BASH__TSBASHLANGUAGE_HPP__ |
|
|
96 |
|
#endif // ZOGRASCOPE_TS_BASH_TSBASHLANGUAGE_HPP_ |
File src/ts/bash/TSBashSType.hpp changed (mode: 100644) (index eed6c5c..479d359) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TS__BASH__TSBASHSTYPE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TS__BASH__TSBASHSTYPE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TS_BASH_TSBASHSTYPE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TS_BASH_TSBASHSTYPE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
operator-(SType stype) |
110 |
110 |
|
|
111 |
111 |
} |
} |
112 |
112 |
|
|
113 |
|
#endif // ZOGRASCOPE__TS__BASH__TSBASHSTYPE_HPP__ |
|
|
113 |
|
#endif // ZOGRASCOPE_TS_BASH_TSBASHSTYPE_HPP_ |
File src/ts/lua/TSLuaLanguage.hpp changed (mode: 100644) (index 849268f..fb2f9e1) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TS__LUA__TSLUALANGUAGE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TS__LUA__TSLUALANGUAGE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TS_LUA_TSLUALANGUAGE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TS_LUA_TSLUALANGUAGE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <unordered_map> |
#include <unordered_map> |
21 |
21 |
#include <unordered_set> |
#include <unordered_set> |
|
... |
... |
private: |
93 |
93 |
std::unordered_set<std::string> badNodes; // Lists nodes to ignore. |
std::unordered_set<std::string> badNodes; // Lists nodes to ignore. |
94 |
94 |
}; |
}; |
95 |
95 |
|
|
96 |
|
#endif // ZOGRASCOPE__TS__LUA__TSLUALANGUAGE_HPP__ |
|
|
96 |
|
#endif // ZOGRASCOPE_TS_LUA_TSLUALANGUAGE_HPP_ |
File src/ts/lua/TSLuaSType.hpp changed (mode: 100644) (index 68ed8ea..0da7828) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TS__LUA__TSLUASTYPE_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TS__LUA__TSLUASTYPE_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TS_LUA_TSLUASTYPE_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TS_LUA_TSLUASTYPE_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
operator-(SType stype) |
101 |
101 |
|
|
102 |
102 |
} |
} |
103 |
103 |
|
|
104 |
|
#endif // ZOGRASCOPE__TS__LUA__TSLUASTYPE_HPP__ |
|
|
104 |
|
#endif // ZOGRASCOPE_TS_LUA_TSLUASTYPE_HPP_ |
File src/types.hpp changed (mode: 100644) (index 85ac9bb..4fc0ed9) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TYPES_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TYPES_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TYPES_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TYPES_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
|
|
|
... |
... |
std::ostream & operator<<(std::ostream &os, Type type); |
169 |
169 |
|
|
170 |
170 |
Type canonizeType(Type type); |
Type canonizeType(Type type); |
171 |
171 |
|
|
172 |
|
#endif // ZOGRASCOPE__TYPES_HPP__ |
|
|
172 |
|
#endif // ZOGRASCOPE_TYPES_HPP_ |
File src/utils/CountIterator.hpp changed (mode: 100644) (index f0fa6f2..7b9f03e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__COUNTITERATOR_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__COUNTITERATOR_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_COUNTITERATOR_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_COUNTITERATOR_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <iterator> |
#include <iterator> |
21 |
21 |
|
|
|
... |
... |
private: |
41 |
41 |
int count = 0; |
int count = 0; |
42 |
42 |
}; |
}; |
43 |
43 |
|
|
44 |
|
#endif // ZOGRASCOPE__UTILS__COUNTITERATOR_HPP__ |
|
|
44 |
|
#endif // ZOGRASCOPE_UTILS_COUNTITERATOR_HPP_ |
File src/utils/Pool.hpp changed (mode: 100644) (index 1827518..3253ef1) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__POOL_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__POOL_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_POOL_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_POOL_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <utility> |
#include <utility> |
21 |
21 |
|
|
|
... |
... |
private: |
56 |
56 |
allocator_type alloc; // Allocator used for objects. |
allocator_type alloc; // Allocator used for objects. |
57 |
57 |
}; |
}; |
58 |
58 |
|
|
59 |
|
#endif // ZOGRASCOPE__UTILS__POOL_HPP__ |
|
|
59 |
|
#endif // ZOGRASCOPE_UTILS_POOL_HPP_ |
File src/utils/fs.hpp changed (mode: 100644) (index 44edf91..83efca2) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__FS_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__FS_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_FS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_FS_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
|
|
|
... |
... |
private: |
51 |
51 |
// specifies a directory or file reading has failed. |
// specifies a directory or file reading has failed. |
52 |
52 |
std::string readFile(const std::string &path); |
std::string readFile(const std::string &path); |
53 |
53 |
|
|
54 |
|
#endif // ZOGRASCOPE__UTILS__FS_HPP__ |
|
|
54 |
|
#endif // ZOGRASCOPE_UTILS_FS_HPP_ |
File src/utils/nums.hpp changed (mode: 100644) (index f394ebf..53e8e8e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__NUMS_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__NUMS_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_NUMS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_NUMS_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cassert> |
#include <cassert> |
21 |
21 |
|
|
|
... |
... |
countWidth(int n) |
33 |
33 |
return (width == 0) ? 1 : width; |
return (width == 0) ? 1 : width; |
34 |
34 |
} |
} |
35 |
35 |
|
|
36 |
|
#endif // ZOGRASCOPE__UTILS__NUMS_HPP__ |
|
|
36 |
|
#endif // ZOGRASCOPE_UTILS_NUMS_HPP_ |
File src/utils/optional.hpp changed (mode: 100644) (index 600e8dc..b56a211) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__OPTIONAL_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__OPTIONAL_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_OPTIONAL_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_OPTIONAL_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <utility> |
#include <utility> |
21 |
21 |
|
|
|
... |
... |
private: |
46 |
46 |
template <typename T> |
template <typename T> |
47 |
47 |
using optional_t = boost::optional<MoveOnCopy<T>>; |
using optional_t = boost::optional<MoveOnCopy<T>>; |
48 |
48 |
|
|
49 |
|
#endif // ZOGRASCOPE__UTILS__OPTIONAL_HPP__ |
|
|
49 |
|
#endif // ZOGRASCOPE_UTILS_OPTIONAL_HPP_ |
File src/utils/strings.hpp changed (mode: 100644) (index e2f470a..7f60e5c) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__STRINGS__HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__STRINGS__HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_STRINGS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_STRINGS_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <boost/utility/string_ref.hpp> |
#include <boost/utility/string_ref.hpp> |
21 |
21 |
|
|
|
... |
... |
std::string && normalizeEols(std::string &&str); |
94 |
94 |
// Goes over characters of the string and updates line and column accordingly. |
// Goes over characters of the string and updates line and column accordingly. |
95 |
95 |
void updatePosition(boost::string_ref str, int tabWidth, int &line, int &col); |
void updatePosition(boost::string_ref str, int tabWidth, int &line, int &col); |
96 |
96 |
|
|
97 |
|
#endif // ZOGRASCOPE__UTILS__STRINGS__HPP__ |
|
|
97 |
|
#endif // ZOGRASCOPE_UTILS_STRINGS_HPP_ |
File src/utils/time.hpp changed (mode: 100644) (index 59aded7..d3c9e00) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__TIME_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__TIME_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_TIME_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_TIME_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <chrono> |
#include <chrono> |
21 |
21 |
#include <iosfwd> |
#include <iosfwd> |
|
... |
... |
TimeReport::measure(const std::string &stage) |
168 |
168 |
return ProxyTimer(*this); |
return ProxyTimer(*this); |
169 |
169 |
} |
} |
170 |
170 |
|
|
171 |
|
#endif // ZOGRASCOPE__UTILS__TIME_HPP__ |
|
|
171 |
|
#endif // ZOGRASCOPE_UTILS_TIME_HPP_ |
File src/utils/trees.hpp changed (mode: 100644) (index 7f2f05f..a773e52) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__UTILS__TREES_HPP__ |
|
18 |
|
#define ZOGRASCOPE__UTILS__TREES_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_UTILS_TREES_HPP_ |
|
18 |
|
#define ZOGRASCOPE_UTILS_TREES_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <ostream> |
#include <ostream> |
21 |
21 |
#include <vector> |
#include <vector> |
|
... |
... |
printSetTraits(std::ostream &os, N *node, const F &nodePrinter) |
92 |
92 |
|
|
93 |
93 |
} |
} |
94 |
94 |
|
|
95 |
|
#endif // ZOGRASCOPE__UTILS__TREES_HPP__ |
|
|
95 |
|
#endif // ZOGRASCOPE_UTILS_TREES_HPP_ |
File tests/tests.hpp changed (mode: 100644) (index 2b1cdfb..eae133d) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE_TESTS__TESTS_HPP__ |
|
18 |
|
#define ZOGRASCOPE_TESTS__TESTS_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TESTS_TESTS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TESTS_TESTS_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <cstdint> |
#include <cstdint> |
21 |
21 |
#include <cstdlib> |
#include <cstdlib> |
|
... |
... |
void reportDiffFailure(const std::string &report); |
223 |
223 |
// Creates a file with specified contents. |
// Creates a file with specified contents. |
224 |
224 |
void makeFile(const std::string &path, const std::vector<std::string> &lines); |
void makeFile(const std::string &path, const std::vector<std::string> &lines); |
225 |
225 |
|
|
226 |
|
#endif // ZOGRASCOPE_TESTS__TESTS_HPP__ |
|
|
226 |
|
#endif // ZOGRASCOPE_TESTS_TESTS_HPP_ |
File tools/find/Args.hpp changed (mode: 100644) (index 30744f6..8c65682) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__FIND__ARGS_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__FIND__ARGS_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_FIND_ARGS_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_FIND_ARGS_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include "tooling/common.hpp" |
#include "tooling/common.hpp" |
21 |
21 |
|
|
|
... |
... |
struct Args : CommonArgs |
25 |
25 |
bool count; // Only count matches and report statistics. |
bool count; // Only count matches and report statistics. |
26 |
26 |
}; |
}; |
27 |
27 |
|
|
28 |
|
#endif // ZOGRASCOPE__TOOLS__FIND__ARGS_HPP__ |
|
|
28 |
|
#endif // ZOGRASCOPE_TOOLS_FIND_ARGS_HPP_ |
File tools/gdiff/BlankLineAttr.hpp changed (mode: 100644) (index ebac3b9..c28e79c) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__BLANKLINEATTR_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__BLANKLINEATTR_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_BLANKLINEATTR_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_BLANKLINEATTR_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <QObject> |
#include <QObject> |
21 |
21 |
#include <QTextObjectInterface> |
#include <QTextObjectInterface> |
|
... |
... |
public: |
40 |
40 |
const QTextFormat &format) override; |
const QTextFormat &format) override; |
41 |
41 |
}; |
}; |
42 |
42 |
|
|
43 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__BLANKLINEATTR_HPP__ |
|
|
43 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_BLANKLINEATTR_HPP_ |
File tools/gdiff/CodeView.hpp changed (mode: 100644) (index 12f3438..e609d07) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__CODEVIEW_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__CODEVIEW_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_CODEVIEW_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_CODEVIEW_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <QPlainTextEdit> |
#include <QPlainTextEdit> |
21 |
21 |
|
|
|
... |
... |
private: |
75 |
75 |
std::vector<StablePos> positions; |
std::vector<StablePos> positions; |
76 |
76 |
}; |
}; |
77 |
77 |
|
|
78 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__CODEVIEW_HPP__ |
|
|
78 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_CODEVIEW_HPP_ |
File tools/gdiff/DiffList.hpp changed (mode: 100644) (index 94409b4..95608e3) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__DIFFLIST_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__DIFFLIST_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_DIFFLIST_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_DIFFLIST_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <vector> |
#include <vector> |
|
... |
... |
private: |
58 |
58 |
unsigned int current = 0U; |
unsigned int current = 0U; |
59 |
59 |
}; |
}; |
60 |
60 |
|
|
61 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__DIFFLIST_HPP__ |
|
|
61 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_DIFFLIST_HPP_ |
File tools/gdiff/FoldTextAttr.hpp changed (mode: 100644) (index c34846b..1ab4d89) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__FOLDTEXTATTR_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__FOLDTEXTATTR_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_FOLDTEXTATTR_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_FOLDTEXTATTR_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <QObject> |
#include <QObject> |
21 |
21 |
#include <QTextObjectInterface> |
#include <QTextObjectInterface> |
|
... |
... |
public: |
40 |
40 |
const QTextFormat &format) override; |
const QTextFormat &format) override; |
41 |
41 |
}; |
}; |
42 |
42 |
|
|
43 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__FOLDTEXTATTR_HPP__ |
|
|
43 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_FOLDTEXTATTR_HPP_ |
File tools/gdiff/GuiColorScheme.hpp changed (mode: 100644) (index 8d457ab..60a8439) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__GUICOLORSCHEME_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__GUICOLORSCHEME_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_GUICOLORSCHEME_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_GUICOLORSCHEME_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <array> |
#include <array> |
21 |
21 |
|
|
|
... |
... |
private: |
36 |
36 |
static_cast<std::size_t>(ColorGroup::ColorGroupCount)> groups; |
static_cast<std::size_t>(ColorGroup::ColorGroupCount)> groups; |
37 |
37 |
}; |
}; |
38 |
38 |
|
|
39 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__GUICOLORSCHEME_HPP__ |
|
|
39 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_GUICOLORSCHEME_HPP_ |
File tools/gdiff/Repository.hpp changed (mode: 100644) (index 1fe78b9..6477142) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__REPOSITORY_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__REPOSITORY_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_REPOSITORY_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_REPOSITORY_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <vector> |
#include <vector> |
|
... |
... |
public: |
70 |
70 |
git_repository *repo; // Repository handle. |
git_repository *repo; // Repository handle. |
71 |
71 |
}; |
}; |
72 |
72 |
|
|
73 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__REPOSITORY_HPP__ |
|
|
73 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_REPOSITORY_HPP_ |
File tools/gdiff/SynHi.hpp changed (mode: 100644) (index cd11eab..b35a88e) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__SYNHI_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__SYNHI_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_SYNHI_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_SYNHI_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <vector> |
#include <vector> |
21 |
21 |
|
|
|
... |
... |
private: |
44 |
44 |
GuiColorScheme cs; |
GuiColorScheme cs; |
45 |
45 |
}; |
}; |
46 |
46 |
|
|
47 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__SYNHI_HPP__ |
|
|
47 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_SYNHI_HPP_ |
File tools/gdiff/ZSDiff.hpp changed (mode: 100644) (index dc9c42e..71b26a7) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__GDIFF__ZSDIFF_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__GDIFF__ZSDIFF_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_GDIFF_ZSDIFF_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_GDIFF_ZSDIFF_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <map> |
#include <map> |
21 |
21 |
#include <memory> |
#include <memory> |
|
... |
... |
private: |
132 |
132 |
DiffList diffList; |
DiffList diffList; |
133 |
133 |
}; |
}; |
134 |
134 |
|
|
135 |
|
#endif // ZOGRASCOPE__TOOLS__GDIFF__ZSDIFF_HPP__ |
|
|
135 |
|
#endif // ZOGRASCOPE_TOOLS_GDIFF_ZSDIFF_HPP_ |
File tools/tui/FileRegistry.hpp changed (mode: 100644) (index bdb5fe1..2250c41) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__FILEREGISTRY_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__FILEREGISTRY_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_FILEREGISTRY_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_FILEREGISTRY_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <unordered_map> |
#include <unordered_map> |
|
... |
... |
private: |
63 |
63 |
std::vector<FuncInfo> infos; |
std::vector<FuncInfo> infos; |
64 |
64 |
}; |
}; |
65 |
65 |
|
|
66 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__FILEREGISTRY_HPP__ |
|
|
66 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_FILEREGISTRY_HPP_ |
File tools/tui/ViewManager.hpp changed (mode: 100644) (index 55476f1..4e19de9) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__VIEWMANAGER_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__VIEWMANAGER_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_VIEWMANAGER_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_VIEWMANAGER_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <memory> |
#include <memory> |
21 |
21 |
#include <string> |
#include <string> |
|
... |
... |
private: |
104 |
104 |
std::vector<View *> stack; |
std::vector<View *> stack; |
105 |
105 |
}; |
}; |
106 |
106 |
|
|
107 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__VIEWMANAGER_HPP__ |
|
|
107 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_VIEWMANAGER_HPP_ |
File tools/tui/common.hpp changed (mode: 100644) (index 7a953cd..c57e489) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__COMMON_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__COMMON_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_COMMON_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_COMMON_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <functional> |
#include <functional> |
21 |
21 |
|
|
|
... |
... |
void addListOperations(vle::Mode &mode, cursed::ListLike &list, |
32 |
32 |
// Populates mode with typical text operations. |
// Populates mode with typical text operations. |
33 |
33 |
void addTextOperations(vle::Mode &mode, cursed::Text &text); |
void addTextOperations(vle::Mode &mode, cursed::Text &text); |
34 |
34 |
|
|
35 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__COMMON_HPP__ |
|
|
35 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_COMMON_HPP_ |
File tools/tui/views/CodeView.hpp changed (mode: 100644) (index eefe95c..95affda) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__VIEWS__CODEVIEW_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__VIEWS__CODEVIEW_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_VIEWS_CODEVIEW_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_VIEWS_CODEVIEW_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include "cursed/Text.hpp" |
#include "cursed/Text.hpp" |
21 |
21 |
|
|
|
... |
... |
private: |
34 |
34 |
cursed::Text text; |
cursed::Text text; |
35 |
35 |
}; |
}; |
36 |
36 |
|
|
37 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__VIEWS__CODEVIEW_HPP__ |
|
|
37 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_VIEWS_CODEVIEW_HPP_ |
File tools/tui/views/DumpView.hpp changed (mode: 100644) (index 75d3b87..e0ac515) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__VIEWS__DUMPVIEW_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__VIEWS__DUMPVIEW_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_VIEWS_DUMPVIEW_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_VIEWS_DUMPVIEW_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include "cursed/Text.hpp" |
#include "cursed/Text.hpp" |
21 |
21 |
|
|
|
... |
... |
private: |
34 |
34 |
cursed::Text text; |
cursed::Text text; |
35 |
35 |
}; |
}; |
36 |
36 |
|
|
37 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__VIEWS__DUMPVIEW_HPP__ |
|
|
37 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_VIEWS_DUMPVIEW_HPP_ |
File tools/tui/views/FilesView.hpp changed (mode: 100644) (index 48607ca..3e6e20c) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__VIEWS__FILESVIEW_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__VIEWS__FILESVIEW_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_VIEWS_FILESVIEW_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_VIEWS_FILESVIEW_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <string> |
#include <string> |
21 |
21 |
#include <vector> |
#include <vector> |
|
... |
... |
private: |
42 |
42 |
std::vector<std::string> files; |
std::vector<std::string> files; |
43 |
43 |
}; |
}; |
44 |
44 |
|
|
45 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__VIEWS__FILESVIEW_HPP__ |
|
|
45 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_VIEWS_FILESVIEW_HPP_ |
File tools/tui/views/FunctionsView.hpp changed (mode: 100644) (index 1b6b385..ceef308) |
14 |
14 |
// You should have received a copy of the GNU Affero General Public License |
// You should have received a copy of the GNU Affero General Public License |
15 |
15 |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
// along with zograscope. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
|
|
17 |
|
#ifndef ZOGRASCOPE__TOOLS__TUI__VIEWS__FUNCTIONSVIEW_HPP__ |
|
18 |
|
#define ZOGRASCOPE__TOOLS__TUI__VIEWS__FUNCTIONSVIEW_HPP__ |
|
|
17 |
|
#ifndef ZOGRASCOPE_TOOLS_TUI_VIEWS_FUNCTIONSVIEW_HPP_ |
|
18 |
|
#define ZOGRASCOPE_TOOLS_TUI_VIEWS_FUNCTIONSVIEW_HPP_ |
19 |
19 |
|
|
20 |
20 |
#include <vector> |
#include <vector> |
21 |
21 |
|
|
|
... |
... |
private: |
47 |
47 |
Sorting sorting; |
Sorting sorting; |
48 |
48 |
}; |
}; |
49 |
49 |
|
|
50 |
|
#endif // ZOGRASCOPE__TOOLS__TUI__VIEWS__FUNCTIONSVIEW_HPP__ |
|
|
50 |
|
#endif // ZOGRASCOPE_TOOLS_TUI_VIEWS_FUNCTIONSVIEW_HPP_ |