~ubuntu-branches/ubuntu/vivid/nqp/vivid-proposed

« back to all changes in this revision

Viewing changes to src/QAST/IVal.nqp

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2013-11-01 12:09:18 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131101120918-kx51sl0sxl3exsxi
Tags: 2013.10-1
* New upstream release
* Bump versioned (Build-)Depends on parrot
* Update patches
* Install new README.pod
* Fix vcs-field-not-canonical
* Do not install rubyish examples
* Do not Depends on parrot-devel anymore
* Add 07_disable-serialization-tests.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
class QAST::IVal is QAST::Node {
2
2
    has int $!value;
 
3
 
 
4
    method BUILD() {
 
5
        nqp::bindattr(self, QAST::Node, '$!returns', int);
 
6
    }
 
7
 
3
8
    method value(*@value) { $!value := @value[0] if @value; $!value }
4
 
    
 
9
 
5
10
    method substitute_inline_placeholders(@fillers) {
6
11
        self
7
12
    }