non-optional keyword parameters

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@236 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-03-24 22:17:48 +00:00
parent 7deecad835
commit 135941fb43
3 changed files with 20 additions and 5 deletions
+4 -1
View File
@@ -23,8 +23,11 @@ class KeywordTrie;
/// Parameter type of keywords
class KeywordParam {
public:
KeywordParam();
String name; ///< Name of the parameter type
String description; ///< Description of the type
String description; ///< Description of the parameter type
String placeholder; ///< Placholder for <atom-kwpph>, name is used if this is empty
bool optional; ///< Can this parameter be left out (a placeholder is then used)
String match; ///< Regular expression to match
OptionalScript script; ///< Transformation of the value for showing in the reminder text
String example; ///< Example for preview dialog