Class ScopeExternTable
Encodes the (very precise) assumptions the Scope emitter makes about extern tables in a MetricsPlan.
Inherited Members
Namespace: Mangrove.MetricSetEmitters
Assembly: MetricSetTransformers.dll
Syntax
public class ScopeExternTable : LoggingValidatorBase, IMetricsPlanValidator, IGenericMetricsPlanTransformer<List<string>>
Remarks
These assumptions (about ExternTable tables) are:
- The table contains exactly one Extern expression.
- The other expressions are either ColumnReference, BinaryOperation of kind ExtractFrom, or Literal.
Constructors
View SourceScopeExternTable(ILogger)
Declaration
public ScopeExternTable(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Methods
View SourceTransformWithTracing(MetricsPlan)
Produce a (possibly empty) list of errors for this MetricsPlan.
Declaration
public override List<string> TransformWithTracing(MetricsPlan metricsPlan)
Parameters
Type | Name | Description |
---|---|---|
MetricsPlan | metricsPlan |
Returns
Type | Description |
---|---|
List<String> |