Revision 6
Added by Willibald K. over 8 years ago
EnumType.java | ||
---|---|---|
30 | 30 |
import java.util.ArrayList; |
31 | 31 |
import java.util.Collections; |
32 | 32 |
import java.util.Comparator; |
33 |
|
|
33 |
|
|
34 | 34 |
import org.momut.ooas.ast.IAstVisitor; |
35 | 35 |
import org.momut.ooas.ast.identifiers.EnumIdentifier; |
36 | 36 |
import org.momut.ooas.ast.identifiers.TypeIdentifier; |
... | ... | |
88 | 88 |
} |
89 | 89 |
return result.toString(); |
90 | 90 |
} |
91 |
|
|
92 |
@Override |
|
93 |
public int valueCount() { |
|
94 |
return m_listOfEnumSymbols.size(); |
|
95 |
} |
|
96 |
|
|
91 | 97 |
} |
Also available in: Unified diff
adding methods to query types for their number of elements, fixing an issue with the ActionPrinter