print(JsRender.Lang.keyword("delete") + "\n");
}
*/
+
+
namespace JsRender {
public Lang_Class Lang = null;
Gee.HashMap<string,string> keywordNames;
Gee.HashMap<string,string> puncNames;
Gee.HashMap<string,string> matchingNames;
+ Gee.ArrayList<string> match_strings;
+
public Lang_Class ()
{
if (Lang != null) {
public bool isNewline (string str) {
return this.newlineNames.get(str) != null;
}
- public bool isBoolean (string str) {
- var ss = str.down();
+ public bool isBoolean (string str) {
+ var ss = str.down();
return ss == "false" || ss == "true";
}
+
+
void init() {
this.coreObjects = new GLib.List<string>();
var x = ws[i].split(":");
this.matchingNames.set(x[0],x[1]);
}
+
+
+
+
}