Search Results for

    Show / Hide Table of Contents

    Class ParseOptions

    Represents parse options common to C# and VB.

    Inheritance
    System.Object
    ParseOptions
    LuaParseOptions
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Loretta.CodeAnalysis
    Assembly: Loretta.CodeAnalysis.dll
    Syntax
    public abstract class ParseOptions

    Properties

    | Improve this Doc View Source

    DocumentationMode

    Gets a value indicating whether the documentation comments are parsed.

    Declaration
    public DocumentationMode DocumentationMode { get; protected set; }
    Property Value
    Type Description
    DocumentationMode

    true if documentation comments are parsed, false otherwise.

    | Improve this Doc View Source

    Errors

    Errors collection related to an incompatible set of parse options

    Declaration
    public ImmutableArray<Diagnostic> Errors { get; }
    Property Value
    Type Description
    ImmutableArray<Diagnostic>
    | Improve this Doc View Source

    Features

    Returns the experimental features.

    Declaration
    public abstract IReadOnlyDictionary<string, string> Features { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<System.String, System.String>
    | Improve this Doc View Source

    Language

    Gets the source language ("Lua").

    Declaration
    public abstract string Language { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public abstract override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public abstract override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    WithDocumentationMode(DocumentationMode)

    Creates a new options instance with the specified documentation mode.

    Declaration
    public ParseOptions WithDocumentationMode(DocumentationMode documentationMode)
    Parameters
    Type Name Description
    DocumentationMode documentationMode
    Returns
    Type Description
    ParseOptions
    | Improve this Doc View Source

    WithFeatures(IEnumerable<KeyValuePair<String, String>>)

    Enable some experimental language features for testing.

    Declaration
    public ParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features)
    Parameters
    Type Name Description
    IEnumerable<KeyValuePair<System.String, System.String>> features
    Returns
    Type Description
    ParseOptions

    Operators

    | Improve this Doc View Source

    Equality(ParseOptions, ParseOptions)

    Checks whether two parse options are equal.

    Declaration
    public static bool operator ==(ParseOptions left, ParseOptions right)
    Parameters
    Type Name Description
    ParseOptions left
    ParseOptions right
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(ParseOptions, ParseOptions)

    Checks whether two parse options are not equal.

    Declaration
    public static bool operator !=(ParseOptions left, ParseOptions right)
    Parameters
    Type Name Description
    ParseOptions left
    ParseOptions right
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾