private void ReferenceDeclaration(IIntermediateType declaration) { if (this.HasNameHandler) { EndSpan(); string name = declaration.Accept(this.translator.NameProvider, IntermediateNameRequestDetails.TargetFileName); TranslateRelativePath(name); referenceStack.Push(declaration); } }
private void DefineDeclaration(IIntermediateType declaration) { if (HasNameHandler) { this.EndSpan(); this.HandleWriteInternal(string.Format("<a class=\"def\" name=\"{0}\">", declaration.Accept(this.translator.NameProvider, IntermediateNameRequestDetails.ReferenceName))); } }