Class LuaParseOptions
This class stores several source parsing related options and offers access to their values.
Inheritance
LuaParseOptions
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
Properties
|
Improve this Doc
View Source
Default
The default parse options.
Declaration
public static LuaParseOptions Default { get; }
Property Value
|
Improve this Doc
View Source
Language
Gets the source language ("Lua").
Declaration
public override string Language { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SyntaxOptions
Declaration
public LuaSyntaxOptions SyntaxOptions { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(LuaParseOptions)
Declaration
public bool Equals(LuaParseOptions other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
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
Returns
Implements
IEquatable<>