case TokenName.RIGHT_BRACE: return TokenName.LEFT_BRACE;
default:
throw new LangError.ArgumentError("invalid matching character : %s", name.to_string());
-
- return null;
+
};
//return this.matchingNames.get(name);
public bool isKeyword(string word) {
try {
- var x = this.keyword(word);
+ this.keyword(word);
return true;
} catch (LangError e) {
return false;