John Simmons's Wiki Site

 

CompilersSymbolTable

Page history last edited by John Simmons 2 yrs ago

For chapter 5:

 

set SOURCEDIR=D:\uofm\c4041s2005\src\chap5

 

I've done the support classes and am working on the visitors.

 

12/28/2004

 

I should check whether the check type visitor ever calls itself on a type.

 

A syntaxtree.Identifier represents any name: of a class, a variable, or a method. You have to be careful not to visit identifiers with a type visitor when they just name a variable or a method. Only visit identifiers representing class names with a type visitor.

 

In CheckMiniJavaTypes.visit(MainClass), I really should null out the current method pointer when finished with it, at least for consistency.

 

That should handle the javadoc for chapter 5.

Comments (0)

You don't have permission to comment on this page.