Class LuaParseOptions
This class stores several source parsing related options and offers access to their values.
Implements
IEquatable<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.Lua
Assembly: Loretta.CodeAnalysis.Lua.dll
Syntax
public sealed class LuaParseOptions : ParseOptions
Constructors
| Improve this Doc View SourceLuaParseOptions(LuaSyntaxOptions)
Initializes a new set of parse options.
Declaration
public LuaParseOptions(LuaSyntaxOptions syntaxOptions)
Parameters
Type | Name | Description |
---|---|---|
Lua |
syntaxOptions |
Properties
| Improve this Doc View SourceDefault
The default parse options.
Declaration
public static LuaParseOptions Default { get; }
Property Value
Type | Description |
---|---|
Lua |
Language
Gets the source language ("Lua").
Declaration
public override string Language { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceSyntaxOptions
The Lua
Declaration
public LuaSyntaxOptions SyntaxOptions { get; }
Property Value
Type | Description |
---|---|
Lua |
Methods
| Improve this Doc View SourceEquals(LuaParseOptions)
Declaration
public bool Equals(LuaParseOptions other)
Parameters
Type | Name | Description |
---|---|---|
Lua |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
| Improve this Doc View SourceWithSyntaxOptions(LuaSyntaxOptions)
Creates a new instance with the syntax options replaced by the provided ones.
Declaration
public LuaParseOptions WithSyntaxOptions(LuaSyntaxOptions syntaxOptions)
Parameters
Type | Name | Description |
---|---|---|
Lua |
syntaxOptions |
Returns
Type | Description |
---|---|
Lua |
Implements
IEquatable<>