public static boolean isConcreteListType(Type type) {
   if (type instanceof NonTerminalType) {
     IConstructor sym = ((NonTerminalType) type).getSymbol();
     return SymbolAdapter.isAnyList(sym);
   }
   return false;
 }
Beispiel #2
0
 public boolean isConcreteListType() {
   return SymbolAdapter.isAnyList(getSymbol());
 }