public final class SoyMsgPluralPart extends SoyMsgPart
Constructor and Description |
---|
SoyMsgPluralPart(String pluralVarName,
int offset,
com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> cases) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> |
getCases()
Returns the cases.
|
int |
getOffset()
Returns the offset.
|
String |
getPluralVarName()
Returns the plural variable name.
|
int |
hashCode() |
public SoyMsgPluralPart(String pluralVarName, int offset, com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> cases)
pluralVarName
- The plural variable name.offset
- The offset for this plural statement.cases
- The list of cases for this plural statement.public String getPluralVarName()
public int getOffset()
public com.google.common.collect.ImmutableList<Pair<SoyMsgPluralCaseSpec,com.google.common.collect.ImmutableList<SoyMsgPart>>> getCases()