Class ReadUsagesVisitor

All Implemented Interfaces:
TreeVisitor

public class ReadUsagesVisitor extends ScopeVisitor
Read (i.e. non-binding) usages have to be visited in a second phase. They can't be visited in the same phase as write (i.e. binding) usages, since a read usage may appear in the syntax tree "before" it's declared (written).