Search Results for

    Show / Hide Table of Contents

    Class LuaParseOptions

    This class stores several source parsing related options and offers access to their values.

    Inheritance
    System.Object
    ParseOptions
    LuaParseOptions
    Implements
    IEquatable<LuaParseOptions>
    Inherited Members
    ParseOptions.DocumentationMode
    ParseOptions.Errors
    ParseOptions.WithDocumentationMode(DocumentationMode)
    ParseOptions.WithFeatures(IEnumerable<KeyValuePair<String, String>>)
    ParseOptions.Features
    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.Lua
    Assembly: Loretta.CodeAnalysis.Lua.dll
    Syntax
    public sealed class LuaParseOptions : ParseOptions

    Constructors

    | Improve this Doc View Source

    LuaParseOptions(LuaSyntaxOptions)

    Initializes a new set of parse options.

    Declaration
    public LuaParseOptions(LuaSyntaxOptions syntaxOptions)
    Parameters
    Type Name Description
    LuaSyntaxOptions syntaxOptions

    Properties

    | Improve this Doc View Source

    Default

    The default parse options.

    Declaration
    public static LuaParseOptions Default { get; }
    Property Value
    Type Description
    LuaParseOptions
    | Improve this Doc View Source

    Language

    Gets the source language ("Lua").

    Declaration
    public override string Language { get; }
    Property Value
    Type Description
    System.String
    Overrides
    ParseOptions.Language
    | Improve this Doc View Source

    SyntaxOptions

    The LuaSyntaxOptions to use when parsing.

    Declaration
    public LuaSyntaxOptions SyntaxOptions { get; }
    Property Value
    Type Description
    LuaSyntaxOptions

    Methods

    | Improve this Doc View Source

    Equals(LuaParseOptions)

    Declaration
    public bool Equals(LuaParseOptions other)
    Parameters
    Type Name Description
    LuaParseOptions other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

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

    GetHashCode()

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

    WithSyntaxOptions(LuaSyntaxOptions)

    Creates a new instance with the syntax options replaced by the provided ones.

    Declaration
    public LuaParseOptions WithSyntaxOptions(LuaSyntaxOptions syntaxOptions)
    Parameters
    Type Name Description
    LuaSyntaxOptions syntaxOptions
    Returns
    Type Description
    LuaParseOptions

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top

    Copyright (c) LorettaDevs

    Generated by DocFX

    ☀
    ☾