2018-05-09 07:10:07 +00:00
|
|
|
/*
|
|
|
|
4coder_scope_commands.cpp - A set of commands and helpers relevant for scope level navigation and editing.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
|
|
|
|
|
|
|
#if !defined(FCODER_SCOPE_COMMANDS_H)
|
|
|
|
#define FCODER_SCOPE_COMMANDS_H
|
|
|
|
|
2019-10-06 03:25:00 +00:00
|
|
|
typedef i32 Nest_Delimiter_Kind;
|
|
|
|
enum{
|
2019-10-06 05:00:46 +00:00
|
|
|
NestDelim_None = 0,
|
|
|
|
NestDelim_Open = 1,
|
|
|
|
NestDelim_Close = 2,
|
2019-10-06 03:25:00 +00:00
|
|
|
};
|
|
|
|
|
2019-10-06 05:00:46 +00:00
|
|
|
typedef u32 Find_Nest_Flag;
|
2018-05-09 07:10:07 +00:00
|
|
|
enum{
|
2019-10-06 05:00:46 +00:00
|
|
|
FindNest_Scope = 1,
|
|
|
|
FindNest_Paren = 2,
|
|
|
|
FindNest_EndOfToken = 4,
|
|
|
|
FindNest_Balanced = 8,
|
2018-05-09 07:10:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|