示例#1
0
        public OrchestratingListener(IProject project)
        {
            _statementListener       = new StatementListener();
            _methodListener          = new MethodListener(_statementListener);
            _memberListener          = new MemberDeclarationListener();
            _classListener           = new ClassListener(_methodListener, _memberListener);
            _compilationUnitListener = new CompilationUnitListener(project, _classListener);

            _classListener.ParseInfoUpdate += (string info) => InvokeParseInfoUpdate(info);
        }
 public CompilationUnitListener(IProject project, ClassListener classListener)
 {
     _project       = project;
     _classListener = classListener;
 }