Class LanguageProfile
Represents the language features and semantics enabled for MuLang compilation.
public sealed record LanguageProfile : IEquatable<LanguageProfile>
- Inheritance
-
LanguageProfile
- Implements
- Inherited Members
Properties
ConditionSemantics
Gets the condition semantics.
public ConditionSemantics ConditionSemantics { get; }
Property Value
ConstantFolding
Gets the compile-time constant folding feature setting.
public ConstantFoldingFeature ConstantFolding { get; }
Property Value
ExceptionHandling
Gets the source-level exception-handling feature setting.
public ExceptionHandlingFeature ExceptionHandling { get; }
Property Value
Fingerprint
Gets the stable fingerprint of the profile.
public LanguageProfileFingerprint Fingerprint { get; }
Property Value
LanguageVersion
Gets the language version.
public LanguageVersion LanguageVersion { get; }
Property Value
Loops
Gets the enabled loop features.
public LoopFeatures Loops { get; }
Property Value
MultiLevelLoopControl
Gets the multi-level loop control feature setting.
public MultiLevelLoopControlFeature MultiLevelLoopControl { get; }
Property Value
Mutations
Gets the enabled mutation features.
public MutationFeatures Mutations { get; }
Property Value
ObjectLiteralSyntax
Gets the object-literal property grammar.
public ObjectLiteralSyntax ObjectLiteralSyntax { get; }
Property Value
OpenObjects
Gets the open objects feature setting.
public OpenObjectsFeature OpenObjects { get; }
Property Value
ProviderFunctionCalls
Gets the provider function calls feature setting.
public ProviderFunctionCallsFeature ProviderFunctionCalls { get; }
Property Value
Recursion
Gets the recursion feature setting.
public RecursionFeature Recursion { get; }
Property Value
Shadowing
Gets the shadowing policy.
public ShadowingPolicy Shadowing { get; }
Property Value
TrailingCommas
Gets the trailing commas feature setting.
public TrailingCommasFeature TrailingCommas { get; }
Property Value
UserDefinedFunctions
Gets the user-defined functions feature setting.
public UserDefinedFunctionsFeature UserDefinedFunctions { get; }
Property Value
UserDefinedTypes
Gets the user-defined types feature setting.
public UserDefinedTypesFeature UserDefinedTypes { get; }
Property Value
Methods
Equals(LanguageProfile?)
public bool Equals(LanguageProfile? other)
Parameters
otherLanguageProfile
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(LanguageProfile?, LanguageProfile?)
public static bool operator ==(LanguageProfile? left, LanguageProfile? right)
Parameters
leftLanguageProfilerightLanguageProfile
Returns
operator !=(LanguageProfile?, LanguageProfile?)
public static bool operator !=(LanguageProfile? left, LanguageProfile? right)
Parameters
leftLanguageProfilerightLanguageProfile