public override void Visit(DOM.Module module) { _currentModule = (Module)module; _namespaceResolver.EnterModule(module); _blockStateUnknown = true; _blockState = new Stack <JsonGenerator.BlockStateEnum>(); Visit(module.NamespaceDefinitions); Visit(module.Members.Where( m => (m is DOM.AliasDefinition) || ((Document)m).Module.ModuleDocument != m || ((IContainer)m).Entities.Any(e => !(e is DOM.Comment))) //Skipping module documents having only comments in body ); }
public override void Visit(DOM.Module module) { _namespaceResolver.EnterModule(module); base.Visit(module); }
public override void OnModule(DOM.Module module) { _namespaceResolver.EnterModule(module); base.OnModule(module); }