Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created Apr 3, 2020
Embed
What would you like to do?
greppable6
\.return
File Code
ALOREN/Getopt-Advance
…/Advance.adoc :437:
** has %.return-value;
ALOREN/Getopt-Advance
…/Advance.adoc :1792:
* %.return-value
ALOREN/Getopt-Advance
…/Parser.pm6 :23:
has %.return-value;
CTILMES/GraphQL
…/GraphQL.pm :236:
next unless $sig.returns ~~ Any;
CTILMES/GraphQL
…/GraphQL.pm :238:
my $type = self.perl-type($sig.returns);
DARRENF/Test-Declare
…/Declare.pm6 :199:
$!result.return-value = $!callable.call();
DARRENF/Test-Declare
…/Declare.pm6 :246:
if my $rv = $!expectations.return-value {
DARRENF/Test-Declare
…/Declare.pm6 :251:
$!result.return-value.Str,
DARRENF/Test-Declare
…/Declare.pm6 :256:
ok($rv.compare($!result.return-value),$test-description);
DARRENF/Test-Declare
…/Declare.pm6 :258:
elsif $!result.return-value && self.debug {
DARRENF/Test-Declare
…/Declare.pm6 :260:
diag ' ' ~ $!result.return-value;
DARRENF/Test-Declare
…/Expectations.pm6 :16:
has $.return-value;
DARRENF/Test-Declare
…/Result.pm6 :8:
has $.return-value is rw;
FCO/Red
…/Case.pm6 :13:
.return with self.optimize: :$case, :%when, :$else;
FCO/Red
…/Case.pm6 :23:
#%!when.head.value.returns
FCO/Red
…/Divisable.pm6 :4:
has Bool $.returns;
FCO/Red
…/Divisable.pm6 :14:
.return with .?find-column-name
FCO/Red
…/Divisable.pm6 :20:
.return with .?find-value
FCO/Red
…/Function.pm6 :6:
has Mu:U $.returns;
FCO/Red
…/Infixes.pm6 :19:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :35:
.return with .?find-value
FCO/Red
…/Infixes.pm6 :46:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :59:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :70:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :81:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :92:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :105:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :108:
.return with self.optimize: $left, $right;
FCO/Red
…/Infixes.pm6 :129:
has Bool $.returns;
FCO/Red
…/Infixes.pm6 :132:
.return with self.optimize: $left, $right;
FCO/Red
…/Infixes.pm6 :152:
has Num $.returns;
FCO/Red
…/Infixes.pm6 :168:
.return with .?find-value
FCO/Red
…/Infixes.pm6 :175:
has Num $.returns;
FCO/Red
…/Infixes.pm6 :191:
.return with .?find-value
FCO/Red
…/Infixes.pm6 :198:
has Int $.returns;
FCO/Red
…/Infixes.pm6 :214:
.return with .?find-value
FCO/Red
…/Infixes.pm6 :221:
has Str $.returns;
FCO/Red
…/Infixes.pm6 :234:
has Str $.returns;
FCO/Red
…/Infixes.pm6 :246:
has Str $.returns;
FCO/Red
…/Infixes.pm6 :260:
has Str $.returns;
FCO/Red
…/AND.pm6 :79:
.return with self.optimize: $left, $right, $cols
FCO/Red
…/OR.pm6 :77:
.return with self.optimize: $left, $right, $cols
FCO/Red
…/Unary.pm6 :44:
has Bool $.returns;
FCO/Red
…/Unary.pm6 :61:
has Bool $.returns;
FCO/Red
…/ResultAssociative.pm6 :11:
method key-of { $!key-of.returns }
FCO/Red
…/ResultSeq.pm6 :204:
:type(.returns),
FCO/Red
…/ResultSeq.pm6 :206:
:build(.returns),
FCO/Red
…/ResultSeq.pm6 :212:
:type(.returns.^name),
HANENKAMP/Smack
…/Smack.pm6 :48:
&app = app(%!global) if &app.returns ~~ Callable;
HANENKAMP/Smack
…/Cascade.pm6 :39:
.returns ~~ Callable ?? .(%config) !! $_
HANENKAMP/Smack
…/URLMap.pm6 :59:
.= map({ (.[0], .[1], .[2].returns ~~ Callable ?? .[2].(%config) !! .[2]) });
HANENKAMP/Smack
…/Middleware.pm6 :10:
&!app = &.app.(%config) if &!app.returns ~~ Callable;
HANENKAMP/Smack
…/Conditional.pm6 :18:
if &!middleware.returns ~~ Callable;
HANENKAMP/Smack
…/Test.pm6 :45:
if &app.returns ~~ Callable {
HANENKAMP/Smack
…/mw.p6w :12:
&wrappee = wrappee(%config) if &wrappee.returns ~~ Callable;
JNTHN/Cro-Core
…/BodyParserSelector.pm6 :19:
.return if .is-applicable($message);
JNTHN/Cro-Core
…/BodyParserSelector.pm6 :31:
.return if .is-applicable($message);
JNTHN/Cro-Core
…/BodySerializerSelector.pm6 :19:
.return if .is-applicable($message, $body);
JNTHN/Cro-Core
…/BodySerializerSelector.pm6 :31:
.return if .is-applicable($message, $body);
JNTHN/Cro-HTTP
…/BodyParserSelectors.pm6 :16:
.return if .is-applicable($message);
JNTHN/Cro-HTTP
…/BodyParserSelectors.pm6 :31:
.return if .is-applicable($message);
JNTHN/Cro-HTTP
…/BodySerializerSelectors.pm6 :16:
.return if .is-applicable($message, $body);
JNTHN/Cro-HTTP
…/BodySerializerSelectors.pm6 :32:
.return if .is-applicable($message, $body);
JNTHN/Cro-HTTP
…/InMemory.pm6 :97:
.return;
JNTHN/Cro-OpenAPI-RoutesFromDefinition
…/SecurityChecker.pm6 :14:
.return;
JNTHN/Cro-OpenAPI-RoutesFromDefinition
…/SecurityChecker.pm6 :22:
.return;
JNTHN/Cro-OpenAPI-RoutesFromDefinition
…/SecurityChecker.pm6 :30:
.return;
JNTHN/cro
…/Serve.pm6 :16:
.return;
JNTHN/cro
…/Web.pm6 :339:
.return;
JNTHN/cro
…/app.js :3461:
var defaultPrevented = nativeEvent.defaultPrevented != null ? nativeEvent.defaultPrevented : nativeEvent.returnValue === false;
JNTHN/cro
…/app.js :3482:
} else if (typeof event.returnValue !== 'unknown') {
JNTHN/cro
…/app.js :3483:
event.returnValue = false;
JNTHN/cro
…/app.js :18348:
event.originalEvent.returnValue = event.result;
JNTHN/cro
…/app.js :18381:
src.returnValue === false ?
JSTOWE/AccessorFacade
…/AccessorFacade.pm :212:
my $ret-type = self.signature.returns;
LEONT/Getopt-Long
…/Long.pm :86:
has Any:U $.type = $!converter.returns;
LEONT/Getopt-Long
…/Long.pm :94:
has Any:U $.type = $!converter.returns;
LEONT/Getopt-Long
…/Long.pm :201:
{ make [ ScalarStore, { :converter($<type>.ast) }, 0..1, { :default($<type>.ast.returns.new) }, False ] }
Altai-man/perl6-Compress-Bzip2
…/Bzip2.pm6 :159:
$!stream = self.return_stream();
Altai-man/perl6-Java-Generate
…/JavaMethod.pm6 :18:
has Str $.return-type;
Altai-man/perl6-Java-Generate
…/JavaMethod.pm6 :41:
has $.return-type;
Altai-man/perl6-Java-Generate
…/Statement.pm6 :56:
has Expression $.return;
CurtTilmes/Perl6-GraphQL
…/GraphQL.pm :236:
next unless $sig.returns ~~ Any;
CurtTilmes/Perl6-GraphQL
…/GraphQL.pm :238:
my $type = self.perl-type($sig.returns);
FCO/Test-Fuzz
…/Fuzzed.pm6 :12:
has $.returns = $returns;
FCO/Test-Fuzz
…/04-fuzz.t :21:
is-deeply &test-func.returns, 42, '.returns';
MARTIMM/pod-render
…/100-render.t :9:
is $a.return-ah, 'aahhh', 'aahhh';
Skarsnik/gptrixie
…/gptrixie :246:
$t.return-type-id = $elem<returns>;
Skarsnik/gptrixie
…/gptrixie :342:
$f.returns-id = $elem<returns>;
Skarsnik/gptrixie
…/gptrixie :403:
$v.return-type = %types{$v.return-type-id};
Skarsnik/gptrixie
…/gptrixie :412:
$f.returns = %types{$f.returns-id};
Skarsnik/gptrixie
…/gptrixie :461:
# say $f.returns ~ "\t\t" ~ $f.name ~ '(' ~ @tmp.join(', ') ~ ')';
Skarsnik/gptrixie
…/Class.pm6 :77:
has Type $.return-type;
Skarsnik/gptrixie
…/Class.pm6 :78:
has $.return-type-id;
Skarsnik/gptrixie
…/Class.pm6 :80:
'F:' ~ $.return-type.Str ~ ' ( ' ~ (@.arguments-type.map:{.Str}).join(', ') ~ ')';
Skarsnik/gptrixie
…/Class.pm6 :131:
has Type $.returns;
Skarsnik/gptrixie
…/Class.pm6 :132:
has $.returns-id;
Skarsnik/gptrixie
…/DumbGenerator.pm6 :79:
($t.ref-type.return-type ~~ FundamentalType && $t.ref-type.return-type.name eq 'void' ?? ''
Skarsnik/gptrixie
…/DumbGenerator.pm6 :80:
!! ' --> ' ~ resolve-type($t.ref-type.return-type))
Skarsnik/gptrixie
…/DumbGenerator.pm6 :185:
my $returns = ($f.returns ~~ FundamentalType && $f.returns.name eq 'void') ?? '' !!
Skarsnik/gptrixie
…/DumbGenerator.pm6 :186:
"returns " ~ resolve-type($f.returns, :context<function>);
araraloren/perl6-app-snippet
…/snippet :20:
my %ret = $ret.return-value;
araraloren/perl6-getopt-advance
…/Advance.adoc :437:
** has %.return-value;
araraloren/perl6-getopt-advance
…/Advance.adoc :1792:
* %.return-value
araraloren/perl6-getopt-advance
…/Parser.pm6 :23:
has %.return-value;
azawawi/farabi6
…/codemirror.js :4004:
if (ie && ie_version < 11 && e.keyCode == 27) e.returnValue = false;
azawawi/farabi6
…/codemirror.js :7885:
else e.returnValue = false;
azawawi/farabi6
…/codemirror.js :7892:
return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false;
azawawi/farabi6
…/jquery.min.js :3:
},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f…
azawawi/farabi6
…/mousetrap.min.js :3:
l[a][g],!(!c&&k.seq&&n[k.seq]!=k.level||h!=k.action||("keypress"!=h||d.metaKey||d.ctrlKey)&&b.sort().join(",")!==k.modifiers.sort().join(","))){var m…
azawawi/farabi6
…/sidebar.min.js :11:
!function(e,i,n,t){"use strict";e.fn.sidebar=function(o){var r,s=e(this),a=e(i),l=e(n),c=e("html"),u=e("head"),d=s.selector||"",f=(new Date).getTime(…
azawawi/farabi6
…/semantic.min.js :15:
}(jQuery,window,document),function(e,t,n,i){"use strict";e.fn.sidebar=function(o){var a,r=e(this),s=e(t),c=e(n),l=e("html"),u=e("head"),d=r.selector|…
azawawi/perl6-gtk-scintilla
…/TestData.sql :163:
SELECT IFNULL(SUM(IF((TO_DAYS(rental.return_date) - TO_DAYS(rental.rental_date)) > film.rental_duration,
azawawi/perl6-gtk-scintilla
…/TestData.sql :164:
((TO_DAYS(rental.return_date) - TO_DAYS(rental.rental_date)) - film.rental_duration),0)),0) INTO v_overfees
azawawi/perl6-gtk-scintilla
…/TestData.sql :205:
AND rental.return_date IS NULL;
azawawi/perl6-gtk-scintilla
…/sepbuild.py :41:
if proc.returncode:
azawawi/perl6-gtk-scintilla
…/sepbuild.py :42:
raise OSError(proc.returncode)
cbk/WebService-GoogleDyDNS
…/GoogleDyDNS.pm6 :67:
self.currentHostPublicIP = $currentIPObj.returnIP();
cbk/WebService-HazIP
…/README.md :25:
say "My public IP address is: " ~ $ipObj.returnIP();
cbk/WebService-HazIP
…/10-travis.t :9:
say "My public IP address is: " ~ $ipObj.returnIP();
cygx/p6-tinycc
…/CSub.pm :17:
my $rtype = typeof $sig.returns;
darrenf/p6-test-declare
…/Declare.pm6 :199:
$!result.return-value = $!callable.call();
darrenf/p6-test-declare
…/Declare.pm6 :246:
if my $rv = $!expectations.return-value {
darrenf/p6-test-declare
…/Declare.pm6 :251:
$!result.return-value.Str,
darrenf/p6-test-declare
…/Declare.pm6 :256:
ok($rv.compare($!result.return-value),$test-description);
darrenf/p6-test-declare
…/Declare.pm6 :258:
elsif $!result.return-value && self.debug {
darrenf/p6-test-declare
…/Declare.pm6 :260:
diag ' ' ~ $!result.return-value;
darrenf/p6-test-declare
…/Expectations.pm6 :16:
has $.return-value;
darrenf/p6-test-declare
…/Result.pm6 :8:
has $.return-value is rw;
gfldex/perl6-slippy-semilist
…/Semilist.pm6 :13:
$current.return-rw
perl6/DBIish
…/DBDish.pm6 :55:
when Callable { %!Conversions{$_.signature.returns} = $_ }
perl6/DBIish
…/10-mysql.t :186:
is($sth.mysql_warning_count, 1, "...returns an error"); # test 22
perl6/doc
…/jquery-3.1.1.min.js :3:
a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.a…
perl6/doc
…/functions.pod6 :211:
sub foo(--> Int) {}; say &foo.returns; # OUTPUT: «(Int)␤»
perl6/doc
…/functions.pod6 :213:
sub foo() returns Int {}; say &foo.returns; # OUTPUT: «(Int)␤»
perl6/doc
…/functions.pod6 :215:
sub foo() of Int {}; say &foo.returns; # OUTPUT: «(Int)␤»
perl6/doc
…/functions.pod6 :217:
my Int sub foo() {}; say &foo.returns; # OUTPUT: «(Int)␤»
perl6/doc
…/operators.pod6 :2624:
load-data() andthen .return; # return loaded data, if it's defined
perl6/doc
…/operators.pod6 :2712:
sub meows-processor1 { meows() orelse .return } # return handled Failure
perl6/doc
…/Mu.pod6 :516:
sub f { (1|2|3).return };
perl6/doc
…/Signature.pod6 :1007:
:($a, $b --> Int).returns # OUTPUT: «(Int)»
perl6/gtk-simple
…/PropertyFacade.pm6 :13:
my $ret-type = self.signature.returns;
raydiak/Math--ThreeD
…/Generator.pm :11:
has $.return = 'obj';
raydiak/Math--ThreeD
…/Generator.pm :94:
if $.return {
raydiak/Math--ThreeD
…/Generator.pm :96:
$.return eq 'obj' ?? "{$lib.name}:D" !!
raydiak/Math--ThreeD
…/Generator.pm :97:
$.return eq 'num' ?? 'Numeric:D' !!
raydiak/Math--ThreeD
…/Generator.pm :98:
$.return;
raydiak/Math--ThreeD
…/Generator.pm :141:
if $.return eq 'obj' {
raydiak/Math--ThreeD
…/Generator.pm :152:
} elsif $.return eq 'num' {
raydiak/Math--ThreeD
…/Generator.pm :170:
if $.return eq 'obj' {
raydiak/Math--ThreeD
…/Generator.pm :172:
} elsif $.return eq 'num' {
retupmoca/P6-Net-AMQP
…/Exchange.pm6 :108:
$!channel.method-supply('basic.return');
retupmoca/P6-Net-AMQP
…/10-exchange.t :36:
$exchange.return-supply.tap( -> $v {
softmoth/perl6-pod-to-markdown
…/Markdown.pm6 :257:
$code ~= ' returns ' ~ $sig.signature.returns.perl
softmoth/perl6-pod-to-markdown
…/Markdown.pm6 :258:
unless $sig.signature.returns.WHICH =:= Mu;
spitsh/spitsh
…/Markdown.pm6 :110:
(' ⟶ ',self.gen-type-link(.return-type) if .return-type.name ne 'Any' ),')';
spitsh/spitsh
…/Actions.pm6 :359:
$*ROUTINE.return-by-var = True;
spitsh/spitsh
…/Actions.pm6 :395:
$r.return-type = .&_ast with $<return-type> || $<return-type-sigil>;
spitsh/spitsh
…/Actions.pm6 :407:
$r.return-type = $matching-class.class;
spitsh/spitsh
…/Repo.pm6 :48:
get-CORE-lib($id) andthen .return;
spitsh/spitsh
…/Repo.pm6 :52:
multi method resolve(:$id!) { get-CORE-lib($id) andthen .return }
spitsh/spitsh
…/SAST.pm6 :294:
.return with .deep-first(needle);
spitsh/spitsh
…/SAST.pm6 :476:
$!type = (self.returns andthen .type or tAny);
spitsh/spitsh
…/SAST.pm6 :570:
has $.return-by-var is rw;
spitsh/spitsh
…/SAST.pm6 :735:
has Spit::Type $.return-type is rw = tAny;
spitsh/spitsh
…/SAST.pm6 :739:
has $.return-by-var is rw;
spitsh/spitsh
…/SAST.pm6 :756:
$!is-native ?? tAny !! $.return-type,
spitsh/spitsh
…/SAST.pm6 :759:
.return-by-var = $!return-by-var with .value.returns;
spitsh/spitsh
…/SAST.pm6 :786:
$.return-type = $.class-type if $!rw;
spitsh/spitsh
…/SAST.pm6 :839:
self.declaration.return-type;
spitsh/spitsh
…/SAST.pm6 :880:
$!type ||= $.declaration.return-type.^reify($.invocant.ostensible-type, :$.ctx)
spitsh/spitsh
…/SAST.pm6 :936:
$!type ||= $.declaration.return-type.^reify(Nil, :$.ctx);
spitsh/spitsh
…/SAST.pm6 :1689:
@.symbols[$type]{$name} andthen .return;
spitsh/spitsh
…/Compiler.pm6 :386:
if $ret.return-by-var {
spitsh/spitsh
…/Compile-Cmd-And-Call.pm6 :58:
if $call.declaration.return-by-var {
spitsh/spitsh
…/Compile-Cmd-And-Call.pm6 :99:
if .declaration.return-by-var;
spitsh/spitsh
…/Compile-Junction.pm6 :34:
.return;
spitsh/spitsh
…/Composer.pm6 :408:
my $ret := $block.returns;
spitsh/spitsh
…/Composer.pm6 :640:
if $THIS.returns -> $top-ret is raw {
spitsh/spitsh
…/Composer.pm6 :644:
$child-stmts.returns.ctx = $top-ret.ctx;
spitsh/spitsh
…/class.t :39:
is Parent.return-self.WHAT, 'Parent', '* return on parent returns Parent';
spitsh/spitsh
…/class.t :40:
is Child.return-self.WHAT, 'Child', '* return Child returns Child';
spitsh/spitsh
…/class.t :69:
is Parent.return-self, 'augment return-self', 'call method added by augment';
spitsh/spitsh
…/class.t :70:
is Child.return-self, 'augment return-self', 'call method added by augment on child';
spitsh/spitsh
…/method.t :12:
is Foo<foo>.return-self.WHAT, 'Foo', '* return on instance';
spitsh/spitsh
…/parameterized-class.t :30:
ok Foo[Int].return-type ~~ Foo[Int], '*return on Foo[Int]';
spitsh/spitsh
…/parameterized-class.t :71:
method call-parent()-->Int{ $self.return-param }
spitsh/spitsh
…/parameterized-class.t :74:
is Parent[Int]<one>.return-self.WHAT, 'Parent[Int]', '* return .WHAT is parent';
spitsh/spitsh
…/parameterized-class.t :75:
ok Parent[Int]<one>.return-self ~~ Parent[Int], '* return ~~ parent type';
spitsh/spitsh
…/parameterized-class.t :76:
is Child<two>.return-self.WHAT, 'Child', '* return .WHAT on child is child';
spitsh/spitsh
…/parameterized-class.t :77:
ok Child<two>.return-self ~~ Child, '* return ~~ child type';
szabgab/Perl6-Maven
…/jquery-1.7.2.min.js :3:
a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attribute…
tony-o/perl6-data-dump
…/Dump.pm6 :117:
$out ~= "{$spac2}{sym('method')} {key($meth.gist.Str)} ({val($sig)}) returns {what($meth.returns.WHAT.^name)} {sym('{...}')},\n";
tony-o/perl6-html-parser-xml
…/S05.html :88:
this.returnValue = false;
tony-o/perl6-html-parser-xml
…/S05.mini.html :88:
this.returnValue = false;
zostay/P6W
…/P6W.pod :282:
&wrappee = wrappee(%config) if &wrappee.returns ~~ Callable;
zostay/P6W
…/README.md :310:
&wrappee = wrappee(%config) if &wrappee.returns ~~ Callable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment