Browse Source

idl-api: reorder funcs

main
heck 2 years ago
parent
commit
bdfe0797b0
  1. 20
      idl/idl_api.ysl2

20
idl/idl_api.ysl2

@ -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 {

Loading…
Cancel
Save