|
|
@ -30,6 +30,16 @@ def "func:idl_typekind_is_generic" { |
|
|
|
result "func:exists(/pEpACIDLang/idl/typekinds/generics/*[name()=$typekind])" |
|
|
|
} |
|
|
|
|
|
|
|
def "func:idl_type_is_defined" { |
|
|
|
param "idltype"; |
|
|
|
choose { |
|
|
|
when "func:idl_type_get_typekind_of_type($idltype)" |
|
|
|
result "true()"; |
|
|
|
otherwise |
|
|
|
result "false()"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
def "func:idl_type_is_of_typekind_basetype" { |
|
|
|
param "idltype"; |
|
|
|
result "func:exists(/pEpACIDLang/idl/basetypes/*[name()=$idltype])"; |
|
|
@ -55,16 +65,6 @@ def "func:idl_type_is_of_typekind_list" { |
|
|
|
result "false()"; |
|
|
|
} |
|
|
|
|
|
|
|
def "func:idl_type_is_defined" { |
|
|
|
param "idltype"; |
|
|
|
choose { |
|
|
|
when "func:idl_type_get_typekind_of_type($idltype)" |
|
|
|
result "true()"; |
|
|
|
otherwise |
|
|
|
result "false()"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
def "func:idl_type_get_typekind_of_type" { |
|
|
|
param "idltype"; |
|
|
|
choose { |
|
|
|