reimplement first + follow + testing

This commit is contained in:
Christoph
2020-12-06 02:07:00 +01:00
parent 49e047ce56
commit cec76298e8
4 changed files with 362 additions and 293 deletions

View File

@ -20,6 +20,10 @@ public class GrammarRule {
return this.rightside;
}
public String[] getSymbols() {
return this.rightside.split(" ");
}
@Override
public boolean equals(Object obj) {
if (obj instanceof GrammarRule) {