File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ be used in conjunction with the grammar.
110
110
111
111
= head3 method parse
112
112
113
- method parse(Grammar:D: $str, :$rule = 'TOP', :$actions) returns Match:D
113
+ method parse($str, :$rule = 'TOP', :$actions) returns Match:D
114
114
115
115
Matches the grammar against C < $str > , using C < $rule > as the starting rule,
116
116
optionally applying C < $actions > as actions object.
@@ -153,7 +153,7 @@ This outputs:
153
153
154
154
= head3 method subparse
155
155
156
- method subparse(Grammar:D: $str, :$rule = 'TOP', :$actions) returns Match:D
156
+ method subparse($str, :$rule = 'TOP', :$actions) returns Match:D
157
157
158
158
Matches the grammar against C < $str > , using C < $rule > as the starting rule,
159
159
optionally applying C < $actions > as actions object.
@@ -163,7 +163,7 @@ of the supplied string.
163
163
164
164
= head3 method parsefile
165
165
166
- method parsefile(Grammar:D: Cool $filename as Str, *%opts) returns Match:D
166
+ method parsefile(Cool $filename as Str, *%opts) returns Match:D
167
167
168
168
Parses the contents of the file C < $filename > with the L < parse > method,
169
169
passing along any named options in C < %opts > .
You can’t perform that action at this time.
0 commit comments