Project

General

Profile

Revision 6

Added by Willibald K. over 8 years ago

adding methods to query types for their number of elements, fixing an issue with the ActionPrinter

View differences:

UlyssesType.java
123 123
		return (m_kind == TypeKind.QrType);
124 124
	}
125 125

  
126
	/**
127
	 * returns the number of unique values of the type (2 for bool, etc..)
128
	 */
129
	public int valueCount() {
130
		throw new NotImplementedException(); // must be overridden by child
131
	}
126 132

  
127

  
128 133
	public static String High(UlyssesType atype)
129 134
	{
130 135
		switch (atype.kind())

Also available in: Unified diff