Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 10, 2019 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/df00148dc77f7da44bc31686ecc8b0b5 to your computer and use it in GitHub Desktop.
Save Whateverable/df00148dc77f7da44bc31686ecc8b0b5 to your computer and use it in GitHub Desktop.
greppable6
File Code
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :32:
* Returns {@code true} iff on the current index of the parser's
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :40:
* @return {@code true} iff on the current index of the parser's
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :56:
* Returns {@code true} iff on the current index of the parser's
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :61:
* @return {@code true} iff on the current index of the parser's
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :98:
* Returns {@code true} iff the lexer operates in strict mode.
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :100:
* @return {@code true} iff the lexer operates in strict mode.
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :139:
* Returns {@code true} iff the lexer can match a regex literal.
JGOFF/ANTLR4-Grammar
…/ECMAScript.g4 :141:
* @return {@code true} iff the lexer can match a regex literal.
JGOFF/ANTLR4-Grammar
…/UCBLogo.g4 :513:
* Returns {@code true} iff the next token in the stream is of type
JGOFF/ANTLR4-Grammar
…/UCBLogo.g4 :519:
* @returns {@code true} iff the next token in the stream is of type
JGOFF/ANTLR4-Grammar
…/UCBLogo.g4 :528:
* Returns {@code true} iff the next token in the inout stream is of
JGOFF/ANTLR4-Grammar
…/UCBLogo.g4 :531:
* @returns {@code true} iff the next token in the inout stream is of
UFOBAT/Bailador
…/ContentTypes.pm :40:
return %.mapping{$ext} if %.mapping{$ext}:exists;
UGEXE/zef
…/LocalCache.pm6 :24:
once { self.update } if $.auto-update || !self!manifest-file.e;
UGEXE/zef
…/Build.pm6 :114:
} if $bak.IO.f;
AlexDaniel/orgsleep
…/bdf2json :51:
{ @bitmap.unshift: () for ^($y-shift.abs) } if $y-shift < 0 and @bitmap ≤ $min-height;
Altai-man/perl6-Java-Generate
…/JavaMethod.pm6 :30:
$code ~= {@!statements.map(*.generate()).join.indent($!indent)} if @!statements;
Bailador/Bailador
…/ContentTypes.pm :40:
return %.mapping{$ext} if %.mapping{$ext}:exists;
FCO/test-time
…/Time.pm6 :58:
} if $auto-advance;
IanTayler/MinG
…/S13.pm6 :402:
{ print "\t\t"; say @!devq; say "\n" } if $DEBUG;
IanTayler/MinG
…/S13.pm6 :408:
{ print "\t\t"; say @!devq; say "\n" } if $DEBUG;
MARTIMM/config-datalang-refine
…/Refine.pm6 :251:
$s = $s{$refine-key} if $s{$refine-key} ~~ Hash;
Skarsnik/gptrixie
…/gptrixie :253:
$t.ref-type = %types{$t.ref-id} if %types{$t.ref-id}:exists;
Skarsnik/gptrixie
…/gptrixie :259:
$t.ref-type = %types{$t.ref-id} if %types{$t.ref-id}:exists;
Skarsnik/gptrixie
…/gptrixie :268:
$t.ref-type = %types{$t.ref-id} if %types{$t.ref-id}:exists;
Skarsnik/gptrixie
…/gptrixie :281:
$t.ref-type = %types{$t.ref-id} if %types{$t.ref-id}:exists;
Skarsnik/gptrixie
…/DumbGenerator.pm6 :119:
return %stdinttype-to-p6{$t.name} if %stdinttype-to-p6{$t.name};
Skarsnik/nativecall-typediag
…/TypeDiag.pm6 :82:
{$ctypename = $k; last} if $v ~~ $nctype;
autarch/perl6-File-LibMagic
…/LibMagic.pm6 :162:
$flags +|= %flag-map{$k} if %flag-args{$k};
azawawi/farabi6
…/Util.pm6 :171:
} if defined $colors;
azawawi/farabi6
…/Util.pm6 :187:
} if defined $colors;
bradclawsie/Hash-Consistent
…/Consistent.pm6 :139:
return %!hashed{$s} if %!hashed{$s}:exists;
cjfields/bioperl6
…/Fuzzy.pm6 :192:
$delimiter = %FUZZYCODES{'EXACT'} if (self.location_type eq 'UNCERTAIN');
cjfields/bioperl6
…/Fuzzy.pm6 :243:
%strs{$point} ~= %vals{$point} if defined %vals{$point};
cygx/p6-tinycc-resources-win64
…/basetyps.h :61:
const struct iface##Vtbl *lpVtbl; } iface; \
cygx/p6-tinycc-resources-win64
…/basetyps.h :67:
} iface; \
drforr/perl6-ANTLR4
…/ECMAScript.g4 :32:
* Returns {@code true} iff on the current index of the parser's
drforr/perl6-ANTLR4
…/ECMAScript.g4 :40:
* @return {@code true} iff on the current index of the parser's
drforr/perl6-ANTLR4
…/ECMAScript.g4 :56:
* Returns {@code true} iff on the current index of the parser's
drforr/perl6-ANTLR4
…/ECMAScript.g4 :61:
* @return {@code true} iff on the current index of the parser's
drforr/perl6-ANTLR4
…/ECMAScript.g4 :98:
* Returns {@code true} iff the lexer operates in strict mode.
drforr/perl6-ANTLR4
…/ECMAScript.g4 :100:
* @return {@code true} iff the lexer operates in strict mode.
drforr/perl6-ANTLR4
…/ECMAScript.g4 :139:
* Returns {@code true} iff the lexer can match a regex literal.
drforr/perl6-ANTLR4
…/ECMAScript.g4 :141:
* @return {@code true} iff the lexer can match a regex literal.
drforr/perl6-ANTLR4
…/UCBLogo.g4 :513:
* Returns {@code true} iff the next token in the stream is of type
drforr/perl6-ANTLR4
…/UCBLogo.g4 :519:
* @returns {@code true} iff the next token in the stream is of type
drforr/perl6-ANTLR4
…/UCBLogo.g4 :528:
* Returns {@code true} iff the next token in the inout stream is of
drforr/perl6-ANTLR4
…/UCBLogo.g4 :531:
* @returns {@code true} iff the next token in the inout stream is of
drforr/perl6-Perl6-Parser
…/rosetta-1.t :171:
move %dir{$key} if so %dir{$key};
drforr/perl6-Perl6-Parser
…/rosetta-1.t :294:
move %dir{$key} if so %dir{$key};
edumentab/p6-app-moarvm-debug
…/Formatter.pm6 :61:
my $handle = %handle-renaming{$orig-handle} if %handle-renaming && $orig-handle;
fayland/perl6-WebService-GitHub
…/Response.pm :17:
return %link-header{$rel} if %link-header.elems;
gabrielash/perl6-zmq
…/Message.pm :62:
return %!cached{$i} if %!cached{$i}:exists;
gfldex/perl6-concurrent-file-find
…/Find.pm6 :103:
my &start = -> ( &c ) { c } if $no-thread;
gfldex/perl6-concurrent-file-find
…/Find.pm6 :129:
my &start = -> ( &c ) { c } if $no-thread;
jamesalbert/JSON-WebToken
…/WebToken.pm6 :210:
return %alg_to_class{$algorithm} if %alg_to_class{$algorithm};
kolikov/perl6-Lingua-EN-Conjugate
…/Conjugate.pm6 :95:
return %aux{$verb}{$tense}{$subject} if $verb eq 'be';
kolikov/perl6-Lingua-EN-Conjugate
…/Conjugate.pm6 :103:
return %irregs{$verb}{$tense} if $verb eq %irregs.keys.any;
labster/p6-file-directory-tree
…/basic.t :15:
{ skip-rest 'Could not find a place to put tests'; last } if ++$ > 10;
nkh/P6-Data-Dump-Tree
…/Tree.pm :708:
$link ~= ' ' ~ %!element_names{$perl_address} if %!element_names{$perl_address}:exists
nkh/P6-Data-Dump-Tree
…/Tree.pm :715:
$ddt_address ~= ' ' ~ %!element_names{$perl_address} if %!element_names{$perl_address}:exists
p6-pdf/PDF-Grammar-p6
…/function-parse.t :24:
my $if-else-expr = '{2 1 1 add eq {7 6 mul} {42} ifelse}';
p6-pdf/PDF-p6
…/write-ast.json :17:
{ "ast" : { "expr" : [ { "int" : 2 }, { "int" : 1 }, { "int" : 1 }, { "op" : "add" }, { "op" : "eq" }, { "expr" : { "else" : { "expr" : [ { "int" : 7…
perl6/doc
…/control.pod6 :159:
{ 43.say } if True; # says "43" as well
perl6/doc
…/setbagmix.pod6 :65:
value of $a{$b} if $b value of $a{$b} if $b
perl6/doc
…/Htmlify.pm6 :43:
return %cache{$s} if %cache{$s}:exists;
perl6/whateverable
…/Committable.p6 :57:
my %ENV = @<envs>.map: { ~.[0] => ~.[1] } if @<envs>;
perl6/whateverable
…/Committable.p6 :108:
{ take “$l,”; $l = ‘’ } if $l and ($l ~ $sha).chars > 70;
perl6/whateverable
…/releasable.t :47:
changelog { $new-section ~ $_ } if defined $new-section
perl6/whateverable
…/releasable.t :66:
} if $log;
salortiz/NativeHelpers-Blob
…/bench.pl6 :37:
%tests<alloc> = { Blob.allocate(10000) } if Blob.can('allocate');
samcv/IRC-TextColor
…/TextColor.pm6 :63:
return %irc-styles{$style} if %irc-styles{$style};
samcv/IRC-TextColor
…/TextColor.pm6 :66:
return %irc-styles{'color'} ~ %irc-colors{$color} if %irc-colors{$color};
scmorrison/uzu
…/HTTP.pm6 :187:
return %mapping{$ext} if %mapping{$ext}:exists;
softmoth/p6-Template-Mustache
…/TestUtil.pm :18:
@files .= grep: { .basename eq "$file.json" } if $file;
spebern/Parser-FreeXL-Native
…/configure :19481:
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
spebern/Parser-FreeXL-Native
…/configure :19827:
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
spebern/Parser-FreeXL-Native
…/piazza.eps :40:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :72:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :99:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :131:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :158:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :218:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :219:
} ifelse
spebern/Parser-FreeXL-Native
…/piazza.eps :261:
class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
spebern/Parser-FreeXL-Native
…/libtool.m4 :5625:
"absolute", i.e impossible to change by setting ${shlibpath_var} if the
spitsh/spitsh
…/PID.sp :2:
${kill "-$signal" @pids} if @pids;
tony-o/perl6-db-orm-quicky
…/Model.pm6 :141:
$type = %!statictypes{$!dbtype}<Out>{%$what.keys[0]} if %!data{$col} ~~ %$what.values[0];
tony-o/perl6-encoding-huffman-pp6
…/PP6.pm6 :277:
} if $c eq '1';
tony-o/perl6-html-parser-xml
…/XML.pm6 :94:
{ $aclose = 1 if %!voids{$tag}.defined; ++$.index; $cbuffer = $.html.substr($.index, 1); } if $cbuffer eq '/';
tony-o/perl6-http-server-logger
…/Logger.pm6 :67:
$d = $d{$param} if $param ne '';
tony-o/perl6-web-scraper
…/Scraper.pm6 :87:
} if $success == 0;
tony-o/perl6-web-scraper
…/Scraper.pm6 :93:
} if $success == 0;
tony-o/perl6-web-scraper
…/Scraper.pm6 :99:
} if $success == 0;
tony-o/perl6-web-scraper
…/Scraper.pm6 :104:
} if $success == 0;
ugexe/Perl6-CompUnit--Repository--Github
…/Github.pm6 :117:
return %!seen{~$spec} if %!seen{~$spec}:exists;
ugexe/Perl6-CompUnit--Repository--Github
…/Github.pm6 :138:
return %!loaded{~$spec} if %!loaded{~$spec}:exists;
ugexe/Perl6-CompUnit--Repository--Github
…/Github.pm6 :142:
return %!loaded{$id} if %!loaded{$id}:exists;
ugexe/Perl6-CompUnit--Repository--Github
…/Github.pm6 :180:
return %!loaded{~$name-path} if %!loaded{~$name-path}:exists;
ugexe/Perl6-CompUnit--Repository--Tar
…/Tar.pm6 :118:
return %!seen{~$spec} if %!seen{~$spec}:exists;
ugexe/Perl6-CompUnit--Repository--Tar
…/Tar.pm6 :139:
return %!loaded{~$spec} if %!loaded{~$spec}:exists;
ugexe/Perl6-CompUnit--Repository--Tar
…/Tar.pm6 :143:
return %!loaded{$id} if %!loaded{$id}:exists;
ugexe/Perl6-CompUnit--Repository--Tar
…/Tar.pm6 :181:
return %!loaded{~$name-path} if %!loaded{~$name-path}:exists;
ugexe/Perl6-Net--HTTP
…/Transport.pm6 :54:
$req does role :: { method path { $req.url.Str } } if $proxy;
ugexe/zef
…/LocalCache.pm6 :108:
once { self.update } if $.auto-update || !self!package-list-path.e;
zoffixznet/perl6-Benchy
…/Benchy.pm6 :9:
return sub (Str $s, $) { $s } if Nil === try require Terminal::ANSIColor;
zoffixznet/perl6-CoreHackers-Sourcery
…/Sourcery.pm6 :72:
return { :$file, :line($line-num - $offset), } if $line-num == $wanted;
zoffixznet/perl6-Inline-Brainfuck
…/Brainfuck.pm6 :58:
fail qq{Closing "]" found without matching "["\n} if $level < 0;
zoffixznet/perl6-Testo
…/TAP.pm6 :6:
return sub (Str $s, $) { $s } if Nil === try require Terminal::ANSIColor;
zoffixznet/perl6-p6lert
…/p6lert :77:
temp $color = {''} if $no-color;
CIAvash/WebService-FootballData
…/MakeFixture.pm6 :18:
%attributes{$_} = Date.new: %attributes{$_} if %attributes{$_}:exists;
CIAvash/WebService-FootballData
…/MakeFixture.pm6 :58:
%attributes{$_} = Date.new: %attributes{$_} if %attributes{$_}:exists;
CIAvash/WebService-FootballData
…/MakeFixture.pm6 :62:
%attributes{$_} = self!make_fixture: %attributes{$_} if %attributes{$_}:exists;
CIAvash/WebService-FootballData
…/MakePlayer.pm6 :19:
%attributes{$_} = Date.new: %attributes{$_} if %attributes{$_}:exists;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment