Open GoogleCodeExporter opened 9 years ago
Steps
1. Move (Ctrl-X) HTML generation code from Tag.openTag()/Tag.closeTag() methods
to HTMLTagVisitor.visit() (see e.g. HTMLTagVisitor.visit(BoldTag)
2. replace addAttribute() and addClass() methods by core Java class attributes
of primitive (e.g. boolean) or standard library types (e.g. Set String)
3. rename *Converter to *Interpreter
4. if all *Tag classes are simplified to "dumb" data-only classes, consider
switching to code generation (JavaCC or SableCC (sablecc.org))
5. Consider moving all logic in the DefaultInterpreter in the JavaCC grammar
Original comment by illes.s...@gmail.com
on 22 Jul 2011 at 12:20
[deleted comment]
[deleted comment]
1st and 3rd steps are completed.
Original comment by olh...@gmail.com
on 29 Jul 2011 at 8:33
Original issue reported on code.google.com by
illes.s...@gmail.com
on 21 Jul 2011 at 11:34