private void ProcessLinking(CSharpNode node)
        {
            if (node.CSNodeType == CSharpNodeType.Class ||
                node.CSNodeType == CSharpNodeType.Interface)
            {
                LinkingResolver.Add(CurrentHeadIdentifier, new List <string>());
                return;
            }

            if (node.Type.Kind == SyntaxKind.IdentifierName && !PropertyTsInfo.HasKnowIdentifier(node.Identifier))
            {
                LinkingResolver.Push(CurrentHeadIdentifier, node.Type.RawKind);
            }
        }
        private GenericTrivia GetTokenTrivia(CSharpNode node, int tokenIndex)
        {
            switch ((Kind)node.CSNodeType)
            {
            case Kind.Class:
            case Kind.Interface:
                return(InterfaceInfo.GetTokenTrivia(tokenIndex, node));

            case Kind.Field:
            case Kind.Property:
                return(PropertyTsInfo.GetTokenTrivia(tokenIndex, node));

            default:
                return(GenericTrivia.Empty);
            }
        }
        private string GetTokenContent(CSharpNode node, int tokenIndex)
        {
            switch ((Kind)node.CSNodeType)
            {
            case Kind.Class:
            case Kind.Interface:
                return(InterfaceInfo.TokenContent(tokenIndex, node));

            case Kind.Field:
            case Kind.Property:
                return(PropertyTsInfo.TokenContent(tokenIndex, node));

            default:
                return("");
            }
        }