You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, subclasses of Expression and Statement hardcode their abstract syntax features in the view and concretize methods. To avoid duplication and to make addition of new subclasses easier, these should be lifted to a _template (or similar) class attribute that contains a Handlebar (or other) template.
Right now, subclasses of
ExpressionandStatementhardcode their abstract syntax features in theviewandconcretizemethods. To avoid duplication and to make addition of new subclasses easier, these should be lifted to a_template(or similar) class attribute that contains a Handlebar (or other) template.For example:
viewandconcretizecould then use_templateas appropriate.