rzel / mini-java

Automatically exported from code.google.com/p/mini-java
0 stars 0 forks source link

Add NonTerminal and Terminal #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make Symbol an interface which has two methods: getType() and
visit(Visitor?). Both NonTerminal and Terminal implement the Symbol
interface and one has the method getChildren() and the other has the method
getData()

Original issue reported on code.google.com by lemontree.cool on 1 Oct 2008 at 3:50

GoogleCodeExporter commented 9 years ago
should be accept(Visitor?)

Original comment by lemontree.cool on 2 Oct 2008 at 4:15

GoogleCodeExporter commented 9 years ago
* Terminal should have two ctors: Terminal(String) and Terminal(String,Object), 
in
which Object shouldn't be null.

Original comment by lemontree.cool on 4 Oct 2008 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by lemontree.cool on 4 Oct 2008 at 7:50