Gee.HashMap<string,string> keywordNames;
Gee.HashMap<string,string> puncNames;
Gee.HashMap<string,string> matchingNames;
- Gee.ArrayList<string> match_strings;
+ public Gee.ArrayList<string> match_strings;
public Lang_Class ()
{
this.keywordNames = new Gee.HashMap<string,string>();
this.puncNames = new Gee.HashMap<string,string>();
this.matchingNames = new Gee.HashMap<string,string>();
-
+ this.match_strings = new Gee.ArrayList<string>();
string[] co = { "_global_", "Array", "Boolean", "Date", "Error",
"Function", "Math", "Number", "Object", "RegExp", "String" };
for(var i =0; i< co.length;i++ ) {
this.coreObjects.append(co[i]);
+ this.match_strings.add(co[i]);
}
string[] ws = {
" :SPACE",
for(var i =0; i< ws.length;i++ ) {
var x = ws[i].split(":");
this.keywordNames.set(x[0],x[1]);
+ this.match_strings.add(x[0].substring(1));
}