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{
|
|
|
|
NestDelimiterKind_None = 0,
|
|
|
|
NestDelimiterKind_Open = 1,
|
|
|
|
NestDelimiterKind_Close = 2,
|
|
|
|
};
|
|
|
|
|
2019-09-27 23:56:05 +00:00
|
|
|
typedef u32 Find_Scope_Flag;
|
2018-05-09 07:10:07 +00:00
|
|
|
enum{
|
2018-09-30 12:14:47 +00:00
|
|
|
FindScope_Parent = 1,
|
|
|
|
FindScope_NextSibling = 2,
|
|
|
|
FindScope_EndOfToken = 4,
|
2019-09-27 23:56:05 +00:00
|
|
|
FindScope_Scope = 8,
|
2018-09-30 12:14:47 +00:00
|
|
|
FindScope_Paren = 16,
|
2018-05-09 07:10:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|