Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 4, 2023 00:52
Show Gist options
  • Save Whateverable/19f242d407fbfce166a11329bd53a151 to your computer and use it in GitHub Desktop.
Save Whateverable/19f242d407fbfce166a11329bd53a151 to your computer and use it in GitHub Desktop.
greppable6
File Code
FCO/Red
…/CommonSQL.pm6 :339:
multi method translate(Red::AST::Value $_ where .type.HOW ~~ Metamodel::EnumHOW, $context?) {
Altai-man/ASN-BER
…/Parser.pm6 :178:
when $_ ~~ Enumeration && $_.HOW ~~ Metamodel::EnumHOW {
Altai-man/ASN-BER
…/Parser.pm6 :245:
multi method parse(Buf $input is rw, $enum-type where $enum-type.HOW ~~ Metamodel::EnumHOW, :$debug, :$mode) {
Altai-man/ASN-BER
…/Serializer.pm6 :46:
multi method serialize($enum-value where $enum-value.HOW ~~ Metamodel::EnumHOW, Int $index = 10, :$debug, :$mode) {
Altai-man/ASN-META
…/META.pm6 :93:
my $new-enum = Metamodel::EnumHOW.new_type(:$name, base_type => Int);
perl6/doc
…/typesystem.pod6 :768:
C<.HOW> against L<Metamodel::EnumHOW|/type/Metamodel::EnumHOW> or simply test
perl6/doc
…/typesystem.pod6 :772:
say E.HOW ~~ Metamodel::EnumHOW; # OUTPUT: «True␤»
perl6/doc
…/EnumHOW.pod6 :3:
=TITLE class Metamodel::EnumHOW
perl6/doc
…/EnumHOW.pod6 :7:
class Metamodel::EnumHOW
perl6/doc
…/EnumHOW.pod6 :25:
C<Metamodel::EnumHOW> is the meta class behind the C<enum> keyword.
perl6/doc
…/EnumHOW.pod6 :28:
say numbers.HOW ~~ Metamodel::EnumHOW # OUTPUT: «True␤»
perl6/doc
…/type-graph.txt :19:
class Metamodel::EnumHOW does Metamodel::Naming does Metamodel::Stashing does Metamodel::AttributeContainer does Metamodel::Method…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment