Class LuaParseOptions
This class stores several source parsing related options and offers access to their values.
Inheritance
System.Object
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()
Assembly: cs.temp.dll.dll
Syntax
public sealed class LuaParseOptions : ParseOptions
Constructors
LuaParseOptions(LuaSyntaxOptions)
Initializes a new set of parse options.
Declaration
public LuaParseOptions(LuaSyntaxOptions syntaxOptions)
Parameters
Properties
Default
The default parse options.
Declaration
public static LuaParseOptions Default { get; }
Property Value
DocumentationMode
Declaration
public DocumentationMode DocumentationMode { get; }
Property Value
Features
The features flag don't do anything currently.
Declaration
public override IReadOnlyDictionary<string, string> Features { get; }
Property Value
Type |
Description |
IReadOnlyDictionary<System.String, System.String> |
|
Overrides
Language
Gets the source language ("Lua").
Declaration
public override string Language { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
SyntaxOptions
Declaration
public LuaSyntaxOptions SyntaxOptions { get; }
Property Value
Methods
Equals(LuaParseOptions)
Declaration
public bool Equals(LuaParseOptions other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
WithDocumentationMode(DocumentationMode)
Declaration
public LuaParseOptions WithDocumentationMode(DocumentationMode documentationMode)
Parameters
Returns
WithFeatures(Nullable<IEnumerable<KeyValuePair<String, String>>>)
Feature flags don't do anything currently.
Declaration
public LuaParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>>? features)
Parameters
Type |
Name |
Description |
System.Nullable<IEnumerable<KeyValuePair<System.String, System.String>>> |
features |
|
Returns
WithSyntaxOptions(LuaSyntaxOptions)
Creates a new instance with the syntax options replaced by the provided ones.
Declaration
public LuaParseOptions WithSyntaxOptions(LuaSyntaxOptions syntaxOptions)
Parameters
Returns
Implements
IEquatable<>