Component evidence

Syntax Navigator (Syntax/SyntaxNavigator.cs)

roslyn · src/Compilers/Core/Portable/Syntax/SyntaxNavigator.cs · csharp · MIT
dev-toolsuilang:csharptag:syntax

Provides static navigation over syntax trees for the Roslyn compiler. Use when traversing C# or VB code syntax.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/dotnet/roslyn | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;

namespace Microsoft.CodeAnalysis
{
    internal sealed class SyntaxNavigator
    {
        private const int None = 0;

        public static readonly SyntaxNavigator Instance = new SyntaxNavigator();

        private SyntaxNavigator()
        {
        }

        [Flags]
        private enum SyntaxKinds
        {
            

... (truncated -- full source via MCP)