Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
add .evaluate_unquotes to BVal and Block
- Loading branch information
Carl Masak
committed
Aug 30, 2012
1 parent
2b1bcbb
commit 2f7b14d
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| class QAST::BVal is QAST::Node { | ||
| has $!value; | ||
| method value(*@value) { $!value := @value[0] if @value; $!value } | ||
|
|
||
| method evaluate_unquotes(@unquotes) { | ||
| self | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters