standardTypes top-level property

Map<String, XPathType> standardTypes
final

Lookup table of all standard types by name and alias.

Implementation

final Map<String, XPathType> standardTypes = {
  for (final type in allStandardTypes) ...{
    type.name: type,
    for (final alias in type.aliases) alias: type,
    if (type.name.startsWith('xs:')) ...{
      type.name.substring(3): type,
      'Q{http://www.w3.org/2001/XMLSchema}${type.name.substring(3)}': type,
    },
  },
};