Search Results for

    Show / Hide Table of Contents

    Namespace Loretta.CodeAnalysis

    Classes

    AnnotationExtensions

    Extension methods for dealing with annotations.

    Diagnostic

    Represents a diagnostic, such as a compiler error or a warning, along with the location where it occurred.

    DiagnosticDescriptor

    Provides a description about a Diagnostic

    DiagnosticFormatter

    Formats Diagnostic messages.

    LanguageNames

    A class that provides constants for common language names.

    LocalizableResourceString

    A localizable resource string that may possibly be formatted differently depending on culture.

    LocalizableString

    A string that may possibly be formatted differently depending on culture. NOTE: Types implementing LocalizableString must be serializable.

    Location

    A program location in source code.

    LuaExtensions

    Extension methods for lua specific data.

    ParseOptions

    Represents parse options common to C# and VB.

    SyntaxAnnotation

    A SyntaxAnnotation is used to annotate syntax elements with additional information.

    Since syntax elements are immutable, annotating them requires creating new instances of them with the annotations attached.

    SyntaxNode

    Represents a non-terminal node in the syntax tree.

    SyntaxNodeExtensions

    Extension methods for SyntaxNode.

    SyntaxReference

    A reference to a syntax node.

    SyntaxTree

    The parsed representation of a source document.

    SyntaxWalker

    Walks the syntax tree, allowing subclasses to operate on all nodes, token and trivia. The walker will perform a depth first walk of the tree.

    WellKnownDiagnosticTags

    A class with common diagnostic tags.

    Structs

    ChildSyntaxList

    A list containing all children of a syntax node.

    ChildSyntaxList.Enumerator

    Enumerates the elements of a ChildSyntaxList.

    ChildSyntaxList.Reversed

    An enumerator that enumerates the list in reverse order.

    ChildSyntaxList.Reversed.Enumerator

    Enumerates the nodes in this reversed children list.

    FileLinePositionSpan

    Represents a span of text in a source code file in terms of file name, line number, and offset within line. However, the file is actually whatever was passed in when asked to parse; there may not really be a file.

    SeparatedSyntaxList<TNode>

    Represents a list of nodes separated by one token. May have a trailing node.

    SeparatedSyntaxList<TNode>.Enumerator

    The enumerator for SeparatedSyntaxList<TNode>.

    SyntaxList<TNode>

    A list of SyntaxNode.

    SyntaxList<TNode>.Enumerator

    The enumerator for SyntaxList<TNode>.

    SyntaxNodeOrToken

    A wrapper for either a syntax node (SyntaxNode) or a syntax token (SyntaxToken).

    SyntaxNodeOrTokenList

    A list of SyntaxNodeOrToken structures.

    SyntaxNodeOrTokenList.Enumerator

    Enumerator for lists of SyntaxNodeOrToken structs.

    SyntaxToken

    Represents a token in the syntax tree.

    SyntaxTokenList

    Represents a read-only list of SyntaxToken.

    SyntaxTokenList.Enumerator

    A structure for enumerating a SyntaxTokenList

    SyntaxTokenList.Reversed

    Reversed enumerable.

    SyntaxTokenList.Reversed.Enumerator

    The enumerator for this reversed list.

    SyntaxTrivia

    Represents a trivia in the syntax tree.

    SyntaxTriviaList

    Represents a read-only list of SyntaxTrivia.

    SyntaxTriviaList.Enumerator

    The enumerator for this trivia list.

    SyntaxTriviaList.Reversed

    Reversed enumerable.

    SyntaxTriviaList.Reversed.Enumerator

    The enumerator for reversed trivia lists.

    Interfaces

    ICompilationUnitSyntax

    Interface implemented by any node that is the root 'CompilationUnit' of a SyntaxTree. i.e. any node returned by GetRoot(CancellationToken) where HasCompilationUnitRoot is true will implement this interface.

    This interface provides a common way to both easily find the root of a SyntaxTree given any SyntaxNode, as well as a common way for handling the special EndOfFileToken that is needed to store all final trivia in a SourceText that is not owned by any other SyntaxToken.

    IStructuredTriviaSyntax

    Represents the root node of a structured trivia tree (for example, a preprocessor directive or a documentation comment). From this root node you can traverse back up to the containing trivia in the outer tree that contains it.

    Enums

    DiagnosticSeverity

    Describes how severe a diagnostic is.

    DocumentationMode

    Specifies the different documentation comment processing modes.

    LocationKind

    Specifies the kind of location (source vs. metadata).

    ObjectDisplayOptions

    Specifies the options for how generics are displayed in the description of a symbol.

    SyntaxRemoveOptions

    The option flags for the RemoveNode(s) methods.

    SyntaxWalkerDepth

    Syntax the SyntaxWalker should descend into.

    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾