Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.649 kB
class QAST::Var is QAST::Node {
has str $!name;
has str $!scope;
has str $!decl;
has int $!slurpy;
has $!default;
method name(*@value) { $!name := @value[0] if @value; $!name || "" }
method scope(*@value) { $!scope := @value[0] if @value; $!scope }
method decl(*@value) { $!decl := @value[0] if @value; $!decl }
method slurpy(*@value) { $!slurpy := @value[0] if @value; $!slurpy }
method default(*@value) { $!default := @value[0] if @value; $!default }
method substitute_inline_placeholders(@fillers) {
self
}
method evaluate_unquotes(@unquotes) {
self
}
}
Jump to Line
Something went wrong with that request. Please try again.