/dports/textproc/py-sphinx-autoapi/sphinx-autoapi-1.8.4/autoapi/templates/python/ |
H A D | method.rst | 3 …{{ obj.short_name }}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_an… 5 {% for (args, return_annotation) in obj.overloads %} 6 …{{ obj.short_name }}({{ args }}){% if return_annotation is not none %} -> {{ return_annotation }}{… 19 {% for (args, return_annotation) in obj.overloads %}
|
H A D | function.rst | 2 …{{ obj.short_name }}({{ obj.args }}){% if obj.return_annotation is not none %} -> {{ obj.return_an… 4 {% for (args, return_annotation) in obj.overloads %} 5 …{{ obj.short_name }}({{ args }}){% if return_annotation is not none %} -> {{ return_annotation }}{…
|
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/util/generator/ |
H A D | Utils.java | 291 …public static String getMethodReturnType(ExecutableElement method, GLreturn return_annotation, boo… in getMethodReturnType() argument 294 if ( param.getSimpleName().toString().equals(return_annotation.value()) ) { in getMethodReturnType() 437 final String return_type = getMethodReturnType(method, return_annotation, true); in printGLReturnPre() 440 if ( !return_annotation.forceMaxLength() ) { in printGLReturnPre() 444 …print("ByteBuffer " + return_annotation.value() + " = APIUtil.getBufferByte(" + type_map.getAPIUti… in printGLReturnPre() 474 final String return_type = getMethodReturnType(method, return_annotation, true); in printGLReturnPost() 477 writer.print("\t\t" + return_annotation.value() + ".limit("); in printGLReturnPost() 482 if ( return_annotation.forceMaxLength() ) { in printGLReturnPost() 483 writer.print(return_annotation.maxLength()); in printGLReturnPost() 485 writer.print(return_annotation.value() + "_length.get(0)"); in printGLReturnPost() [all …]
|
/dports/textproc/py-pikepdf/pikepdf-2.16.1/docs/_ext/ |
H A D | fix_pybind11_autodoc.py | 17 def fix_sigs(app, what, name, obj, options, signature, return_annotation): argument 21 if return_annotation: 22 return_annotation = from_.sub(to, return_annotation) 23 return signature, return_annotation
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/build/lib/sphinx/util/ |
H A D | inspect.py | 74 if sig.return_annotation is not sig.empty: 75 annotations['return'] = sig.return_annotation 537 return_annotation = signature.return_annotation 544 return_annotation = Parameter.empty 575 return inspect.Signature(parameters, return_annotation=return_annotation, # type: ignore 619 return_annotation = sig.return_annotation 620 if return_annotation: 621 return_annotation = evaluate(return_annotation, globalns, localns) 623 return sig.replace(parameters=parameters, return_annotation=return_annotation) 741 return inspect.Signature(params, return_annotation=return_annotation) [all …]
|
/dports/textproc/py-sphinx/stage/usr/local/lib/python3.8/site-packages/sphinx/util/ |
H A D | inspect.py | 74 if sig.return_annotation is not sig.empty: 75 annotations['return'] = sig.return_annotation 537 return_annotation = signature.return_annotation 544 return_annotation = Parameter.empty 575 return inspect.Signature(parameters, return_annotation=return_annotation, # type: ignore 619 return_annotation = sig.return_annotation 620 if return_annotation: 621 return_annotation = evaluate(return_annotation, globalns, localns) 623 return sig.replace(parameters=parameters, return_annotation=return_annotation) 741 return inspect.Signature(params, return_annotation=return_annotation) [all …]
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/sphinx/util/ |
H A D | inspect.py | 74 if sig.return_annotation is not sig.empty: 75 annotations['return'] = sig.return_annotation 537 return_annotation = signature.return_annotation 544 return_annotation = Parameter.empty 575 return inspect.Signature(parameters, return_annotation=return_annotation, # type: ignore 619 return_annotation = sig.return_annotation 620 if return_annotation: 621 return_annotation = evaluate(return_annotation, globalns, localns) 623 return sig.replace(parameters=parameters, return_annotation=return_annotation) 741 return inspect.Signature(params, return_annotation=return_annotation) [all …]
|
/dports/games/freeorion/freeorion-0.4.10.2/default/python/stub_generator/ |
H A D | generate_stub.py | 37 return_annotation = '' 39 return_annotation = '-> %s' % rtype[7:-2] 41 return_annotation = '-> %s' % rtype.split('.')[-1].strip("'>") 46 result.append(' # def %s(self)%s: ' % (property_name, return_annotation)) 50 result.append(' def %s(self)%s:' % (property_name, return_annotation)) 80 return_annotation = ' -> %s' % doc.rtype if doc.rtype else '' 87 … res = 'def %s(%s) %s:%s%s' % (name, doc.get_argument_string(), return_annotation, docstring, end)
|
/dports/devel/pyside2-tools/pyside-setup-opensource-src-5.15.2/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/ |
H A D | backport_inspect.py | 577 def __init__(self, parameters=None, return_annotation=_empty, argument 626 self._return_annotation = return_annotation 657 def return_annotation(self): member in Signature 660 def replace(self, parameters=_void, return_annotation=_void): argument 669 if return_annotation is _void: 670 return_annotation = self._return_annotation 673 return_annotation=return_annotation) 682 return params, kwo_params, self.return_annotation 687 return hash((params, kwo_params, return_annotation)) 891 if self.return_annotation is not _empty: [all …]
|
/dports/devel/pyside2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/ |
H A D | backport_inspect.py | 577 def __init__(self, parameters=None, return_annotation=_empty, argument 626 self._return_annotation = return_annotation 657 def return_annotation(self): member in Signature 660 def replace(self, parameters=_void, return_annotation=_void): argument 669 if return_annotation is _void: 670 return_annotation = self._return_annotation 673 return_annotation=return_annotation) 682 return params, kwo_params, self.return_annotation 687 return hash((params, kwo_params, return_annotation)) 891 if self.return_annotation is not _empty: [all …]
|
/dports/devel/shiboken2/pyside-setup-opensource-src-5.15.2/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/ |
H A D | backport_inspect.py | 577 def __init__(self, parameters=None, return_annotation=_empty, argument 626 self._return_annotation = return_annotation 657 def return_annotation(self): member in Signature 660 def replace(self, parameters=_void, return_annotation=_void): argument 669 if return_annotation is _void: 670 return_annotation = self._return_annotation 673 return_annotation=return_annotation) 682 return params, kwo_params, self.return_annotation 687 return hash((params, kwo_params, return_annotation)) 891 if self.return_annotation is not _empty: [all …]
|
/dports/devel/py-llfuse/llfuse-1.3.8/util/ |
H A D | sphinx_cython.py | 23 def process_signature(app, what, name, obj, options, signature, return_annotation): argument 28 return (signature, return_annotation) 38 return ('(%s)' % ', '.join(new_params), return_annotation)
|
/dports/devel/py-libcst/libcst-0.3.23/docs/source/ |
H A D | conf.py | 200 def strip_class_signature(app, what, name, obj, options, signature, return_annotation): argument 202 return (None, return_annotation) 203 return (signature, return_annotation)
|
/dports/devel/ipython5/ipython-5.10.0/IPython/utils/ |
H A D | _signatures.py | 473 def __init__(self, parameters=None, return_annotation=_empty, argument 509 self._return_annotation = return_annotation 581 return_annotation=annotations.get('return', _empty), 592 def return_annotation(self): member in Signature 595 def replace(self, parameters=_void, return_annotation=_void): argument 604 if return_annotation is _void: 605 return_annotation = self._return_annotation 608 return_annotation=return_annotation) 616 self.return_annotation != other.return_annotation or 813 if self.return_annotation is not _empty: [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/testing/web-platform/tests/tools/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/tools/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 474 def __init__(self, parameters=None, return_annotation=_empty, argument 510 self._return_annotation = return_annotation 582 return_annotation=annotations.get('return', _empty), 593 def return_annotation(self): member in Signature 596 def replace(self, parameters=_void, return_annotation=_void): argument 605 if return_annotation is _void: 606 return_annotation = self._return_annotation 609 return_annotation=return_annotation) 617 self.return_annotation != other.return_annotation or 814 if self.return_annotation is not _empty: [all …]
|
/dports/net-mgmt/py-pdagent/pdagent-1.7.2/unit_tests/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/tests/tools/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/testing/web-platform/tests/tools/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/funcsigs/funcsigs/ |
H A D | __init__.py | 485 def __init__(self, parameters=None, return_annotation=_empty, argument 521 self._return_annotation = return_annotation 593 return_annotation=annotations.get('return', _empty), 604 def return_annotation(self): member in Signature 607 def replace(self, parameters=_void, return_annotation=_void): argument 616 if return_annotation is _void: 617 return_annotation = self._return_annotation 620 return_annotation=return_annotation) 628 self.return_annotation != other.return_annotation or 825 if self.return_annotation is not _empty: [all …]
|