Class SwitchExpr.Component
- java.lang.Object
-
- com.tonic.analysis.source.ast.expr.SwitchExpr.Component
-
- Enclosing class:
- SwitchExpr
public static final class SwitchExpr.Component extends Object
One component of a record-deconstruction pattern:type binding.
-
-
Constructor Summary
Constructors Constructor Description Component(SourceType type, String binding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBinding()SourceTypegetType()
-
-
-
Constructor Detail
-
Component
public Component(SourceType type, String binding)
-
-
Method Detail
-
getType
public SourceType getType()
- Returns:
- the type
-
getBinding
public String getBinding()
- Returns:
- the binding
-
-