rzel / mini-java

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

use Stack instead of List for the symbolStack and the stateStack #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
for pop(); but what about unshift()?

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

GoogleCodeExporter commented 9 years ago
Parser should use Visitor, or extends Visitor<FAState>

Original comment by lemontree.cool on 5 Oct 2008 at 1:49

GoogleCodeExporter commented 9 years ago
should use LinkedList directly, since LinkedList inherits from Queue

Original comment by lemontree.cool on 8 Oct 2008 at 1:53

GoogleCodeExporter commented 9 years ago
HOW TO TEST:
str.startWith('(');
str.endWith(')');
new HashSet(Arrays.asList(str.substring(1).split('|')));

Original comment by lemontree.cool on 8 Oct 2008 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by lemontree.cool on 21 May 2009 at 2:44

GoogleCodeExporter commented 9 years ago

Original comment by lemontree.cool on 14 Jul 2009 at 3:03