Class ParsedExpressionIndexerCall
- Namespace
- LfrlAnvil.Computable.Expressions.Constructs.Variadic
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents an indexer call construct.
public sealed class ParsedExpressionIndexerCall : ParsedExpressionVariadicFunction
- Inheritance
-
ParsedExpressionIndexerCall
- Inherited Members
Constructors
ParsedExpressionIndexerCall(ParsedExpressionFactoryInternalConfiguration, bool)
Creates a new ParsedExpressionIndexerCall instance.
public ParsedExpressionIndexerCall(ParsedExpressionFactoryInternalConfiguration configuration, bool foldConstantsWhenPossible = true)
Parameters
configurationParsedExpressionFactoryInternalConfigurationUnderlying configuration.
foldConstantsWhenPossibleboolSpecifies whether or not indexer invocations with all parameters being constant and target being constant should be resolved immediately as constant expression. Equal to true by default.
Properties
FoldConstantsWhenPossible
Specifies whether or not indexer invocations with all parameters being constant and target being constant 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
parametersIReadOnlyList<Expression>Parameters to process.
Returns
- Expression
New Expression.