Class ParsedExpressionMemberAccess
- Namespace
- LfrlAnvil.Computable.Expressions.Constructs.Variadic
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents a member access construct.
public sealed class ParsedExpressionMemberAccess : ParsedExpressionVariadicFunction
- Inheritance
-
ParsedExpressionMemberAccess
- Inherited Members
Constructors
ParsedExpressionMemberAccess(ParsedExpressionFactoryInternalConfiguration, bool)
Creates a new ParsedExpressionMemberAccess instance.
public ParsedExpressionMemberAccess(ParsedExpressionFactoryInternalConfiguration configuration, bool foldConstantsWhenPossible = true)
Parameters
configuration
ParsedExpressionFactoryInternalConfigurationUnderlying configuration.
foldConstantsWhenPossible
boolSpecifies whether or not member access for constant target should be resolved immediately as constant expression. Equal to true by default.
Properties
FoldConstantsWhenPossible
Specifies whether or not member access for constant target should be resolved immediately as constant expression.
public bool FoldConstantsWhenPossible { get; }
Property Value
Methods
Process(IReadOnlyList<Expression>)
Processes this construct.
[Pure]
protected override Expression Process(IReadOnlyList<Expression> parameters)
Parameters
parameters
IReadOnlyList<Expression>Parameters to process.
Returns
- Expression
New Expression.