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
Make an Abstract Class for Ast Nodes which includes calls to Accept and make the elements of ast.h extend from this abstract class so that the abstract class can be referenced in a generic helper function in the implementation of the visitor. Context
Probably having an abstract class that defines the functions available to all AST nodes will help us implement other design patters beyond just this one.
The text was updated successfully, but these errors were encountered:
Make an Abstract Class for Ast Nodes which includes calls to
Accept
and make the elements ofast.h
extend from this abstract class so that the abstract class can be referenced in a generic helper function in the implementation of the visitor. ContextProbably having an abstract class that defines the functions available to all AST nodes will help us implement other design patters beyond just this one.
The text was updated successfully, but these errors were encountered: