X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=stemmaweb%2Fnytprof-runs%2Fvariantgraph-uuid%2FPPI-Token-Cast-pm-959-block.html;fp=stemmaweb%2Fnytprof-runs%2Fvariantgraph-uuid%2FPPI-Token-Cast-pm-959-block.html;h=6ada09491c4ca0175690046b681882a63d28b0ab;hb=8e30e8896edb30d475bcbc3db84ba8dd08b815ea;hp=0000000000000000000000000000000000000000;hpb=0838c3aa285e60432d60499f1ebbcd09f77e8f5a;p=scpubgit%2Fstemmatology.git diff --git a/stemmaweb/nytprof-runs/variantgraph-uuid/PPI-Token-Cast-pm-959-block.html b/stemmaweb/nytprof-runs/variantgraph-uuid/PPI-Token-Cast-pm-959-block.html new file mode 100644 index 0000000..6ada094 --- /dev/null +++ b/stemmaweb/nytprof-runs/variantgraph-uuid/PPI-Token-Cast-pm-959-block.html @@ -0,0 +1,253 @@ + + + +
+ + +Filename | /Users/edenc/perl5/lib/perl5/PPI/Token/Cast.pm |
Statements | Executed 9 statements in 141µs |
Calls | +P | +F | +Exclusive Time |
+ Inclusive Time |
+ Subroutine | +
---|---|---|---|---|---|
1 | 1 | 1 | 14µs | 19µs | BEGIN@34 | PPI::Token::Cast::
1 | 1 | 1 | 8µs | 8µs | BEGIN@38 | PPI::Token::Cast::
1 | 1 | 1 | 6µs | 37µs | BEGIN@37 | PPI::Token::Cast::
1 | 1 | 1 | 3µs | 3µs | BEGIN@35 | PPI::Token::Cast::
0 | 0 | 0 | 0s | 0s | __TOKENIZER__on_char | PPI::Token::Cast::
Line | +State ments |
+ Time on line |
+ Calls | +Time in subs |
+ Code | +
---|---|---|---|---|---|
1 | package PPI::Token::Cast; | ||||
2 | |||||
3 | =pod | ||||
4 | |||||
5 | =head1 NAME | ||||
6 | |||||
7 | PPI::Token::Cast - A prefix which forces a value into a different context | ||||
8 | |||||
9 | =head1 INHERITANCE | ||||
10 | |||||
11 | PPI::Token::Cast | ||||
12 | isa PPI::Token | ||||
13 | isa PPI::Element | ||||
14 | |||||
15 | =head1 DESCRIPTION | ||||
16 | |||||
17 | A "cast" in PPI terms is one of more characters used as a prefix which force | ||||
18 | a value into a different class or context. | ||||
19 | |||||
20 | This includes referencing, dereferencing, and a few other minor cases. | ||||
21 | |||||
22 | For expressions such as C<@$foo> or C<@{ $foo{bar} }> the C<@> in both cases | ||||
23 | represents a cast. In this case, an array dereference. | ||||
24 | |||||
25 | =head1 METHODS | ||||
26 | |||||
27 | There are no additional methods beyond those provided by the parent | ||||
28 | L<PPI::Token> and L<PPI::Element> classes. | ||||
29 | |||||
30 | Got any ideas for methods? Submit a report to rt.cpan.org! | ||||
31 | |||||
32 | =cut | ||||
33 | |||||
34 | 2 | 22µs | 2 | 25µs | # spent 19µs (14+6) within PPI::Token::Cast::BEGIN@34 which was called:
+# once (14µs+6µs) by PPI::Token::BEGIN@67 at line 34 # spent 19µs making 1 call to PPI::Token::Cast::BEGIN@34
+# spent 6µs making 1 call to strict::import |
35 | 2 | 22µs | 1 | 3µs | # spent 3µs within PPI::Token::Cast::BEGIN@35 which was called:
+# once (3µs+0s) by PPI::Token::BEGIN@67 at line 35 # spent 3µs making 1 call to PPI::Token::Cast::BEGIN@35 |
36 | |||||
37 | 2 | 34µs | 2 | 68µs | # spent 37µs (6+31) within PPI::Token::Cast::BEGIN@37 which was called:
+# once (6µs+31µs) by PPI::Token::BEGIN@67 at line 37 # spent 37µs making 1 call to PPI::Token::Cast::BEGIN@37
+# spent 31µs making 1 call to vars::import |
38 | # spent 8µs within PPI::Token::Cast::BEGIN@38 which was called:
+# once (8µs+0s) by PPI::Token::BEGIN@67 at line 41 | ||||
39 | 2 | 11µs | $VERSION = '1.215'; | ||
40 | @ISA = 'PPI::Token'; | ||||
41 | 1 | 50µs | 1 | 8µs | } # spent 8µs making 1 call to PPI::Token::Cast::BEGIN@38 |
42 | |||||
- - | |||||
46 | ##################################################################### | ||||
47 | # Tokenizer Methods | ||||
48 | |||||
49 | # A cast is either % @ $ or $# | ||||
50 | sub __TOKENIZER__on_char { | ||||
51 | $_[1]->_finalize_token->__TOKENIZER__on_char( $_[1] ); | ||||
52 | } | ||||
53 | |||||
54 | 1 | 2µs | 1; | ||
55 | |||||
56 | =pod | ||||
57 | |||||
58 | =head1 SUPPORT | ||||
59 | |||||
60 | See the L<support section|PPI/SUPPORT> in the main module. | ||||
61 | |||||
62 | =head1 AUTHOR | ||||
63 | |||||
64 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> | ||||
65 | |||||
66 | =head1 COPYRIGHT | ||||
67 | |||||
68 | Copyright 2001 - 2011 Adam Kennedy. | ||||
69 | |||||
70 | This program is free software; you can redistribute | ||||
71 | it and/or modify it under the same terms as Perl itself. | ||||
72 | |||||
73 | The full text of the license can be found in the | ||||
74 | LICENSE file included with this module. | ||||
75 | |||||
76 | =cut |