Module org.mal_lang.langspec
Class StepIntersectionBuilder
- java.lang.Object
-
- org.mal_lang.langspec.builders.step.StepExpressionBuilder
-
- org.mal_lang.langspec.builders.step.StepBinaryOperationBuilder
-
- org.mal_lang.langspec.builders.step.StepIntersectionBuilder
-
public final class StepIntersectionBuilder extends StepBinaryOperationBuilder
A builder for creatingStepIntersectionobjects.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description StepIntersectionBuilder(StepExpressionBuilder lhs, StepExpressionBuilder rhs)Constructs a newStepIntersectionBuilderobject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetgetTarget(Asset sourceAsset, Map<String,Asset> assets, List<AssetBuilder> assetBuilders)Returns the target asset of thisStepExpressionBuilder.-
Methods inherited from class org.mal_lang.langspec.builders.step.StepBinaryOperationBuilder
fromJson, getLhs, getRhs
-
-
-
-
Constructor Detail
-
StepIntersectionBuilder
public StepIntersectionBuilder(StepExpressionBuilder lhs, StepExpressionBuilder rhs)
Constructs a newStepIntersectionBuilderobject.- Parameters:
lhs- the left-hand side of the intersectionrhs- the right-hand side of the intersection- Throws:
NullPointerException- iflhsorrhsisnull- Since:
- 1.0.0
-
-
Method Detail
-
getTarget
public Asset getTarget(Asset sourceAsset, Map<String,Asset> assets, List<AssetBuilder> assetBuilders)
Description copied from class:StepExpressionBuilderReturns the target asset of thisStepExpressionBuilder.- Specified by:
getTargetin classStepExpressionBuilder- Parameters:
sourceAsset- the source assetassets- all assets of the languageassetBuilders- all asset builders of the language- Returns:
- the target asset of this
StepExpressionBuilder
-
-