-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5289455
commit ddb20cd
Showing
4 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#pragma once | ||
|
||
#include "image.h" | ||
#include "string.h" | ||
|
||
namespace Vaev { | ||
|
||
enum struct ContentKeyword { | ||
NONE, | ||
NORMAL, | ||
}; | ||
|
||
enum struct Quotes { | ||
OPEN_QUOTE, | ||
CLOSE_QUOTE, | ||
NO_OPEN_QUOTE, | ||
NO_CLOSE_QUOTE, | ||
}; | ||
|
||
using _Content = Union< | ||
ContentKeyword, | ||
Quotes, | ||
StringFunc, | ||
Image>; | ||
|
||
struct Content : public _Content {}; | ||
|
||
} // namespace Vaev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#pragma once | ||
|
||
#include <karm-base/map.h> | ||
#include <karm-base/string.h> | ||
|
||
namespace Vaev::Style { | ||
|
||
enum struct SymbolsType { | ||
CYCLIC, | ||
NUMERIC, | ||
ALPHABETIC, | ||
SYMBOLIC, | ||
FIXED, | ||
}; | ||
|
||
struct SymbolsFunc { | ||
SymbolsType type; | ||
}; | ||
|
||
struct Counter { | ||
}; | ||
|
||
struct CounterSet { | ||
Map<String, Counter> counters; | ||
}; | ||
|
||
struct CounterStyle {}; | ||
|
||
struct CounterFunc { | ||
}; | ||
|
||
struct CountersFunc { | ||
String counter; | ||
String sep; | ||
}; | ||
|
||
} // namespace Vaev::Style |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#include <karm-base/map.h> | ||
#include <karm-base/string.h> | ||
|
||
namespace Vaev { | ||
|
||
enum struct StringKeyword { | ||
FIRST, | ||
START, | ||
LAST, | ||
FIRST_EXCEPT, | ||
}; | ||
|
||
struct StringFunc { | ||
String ident; | ||
StringKeyword keyword; | ||
}; | ||
|
||
struct StringSet { | ||
Map<String, String> values; | ||
}; | ||
|
||
} // namespace Vaev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters