aboutsummaryrefslogtreecommitdiffhomepage
path: root/goto.h
blob: 84157b14aa4f5b0fe44800875fa8f118d261afaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __GOTO_H
#define __GOTO_H

#include <glib.h>

#include "sciteco.h"
#include "parser.h"

/*
 * Command states
 */

class StateLabel : public State {
public:
	StateLabel();

private:
	State *custom(gchar chr);
};

class StateGotoCmd : public StateExpectString {
private:
	State *done(const gchar *str);
};

namespace States {
	extern StateLabel 	label;
	extern StateGotoCmd	gotocmd;
}

void goto_table_clear(void);

#endif