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.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Loretta.CodeAnalysis
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class ParseOptions

    Properties

    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.

    Errors

    Errors collection related to an incompatible set of parse options

    Declaration
    public ImmutableArray<Diagnostic> Errors { get; }
    Property Value
    Type Description
    ImmutableArray<Diagnostic>

    Features

    Returns the experimental features.

    Declaration
    public abstract IReadOnlyDictionary<string, string> Features { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<System.String, System.String>

    Language

    Gets the source language ("Lua").

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

    Methods

    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)

    GetHashCode()

    Declaration
    public abstract override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    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

    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

    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

    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
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾