File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,16 @@ module Prism
2323
2424 def self.<%= method %> : (
2525 String source,
26+ ?command_line: String,
2627 ?encoding: Encoding | false,
2728 ?filepath: String,
2829 ?freeze: bool,
2930 ?frozen_string_literal: bool,
3031 ?line: Integer,
3132 ?main_script: bool,
32- ?offset: Integer ,
33+ ?partial_script: bool ,
3334 ?scopes: Array[Array[Symbol]],
34- ?verbose: bool
35+ ?version: String
3536 ) -> <%= return_type %>
3637 <%- end -%>
3738
@@ -61,14 +62,15 @@ module Prism
6162
6263 def self.<%= method %> : (
6364 String filepath,
65+ ?command_line: String,
6466 ?encoding: Encoding | false,
6567 ?freeze: bool,
6668 ?frozen_string_literal: bool,
6769 ?line: Integer,
6870 ?main_script: bool,
69- ?offset: Integer ,
71+ ?partial_script: bool ,
7072 ?scopes: Array[Array[Symbol]],
71- ?verbose: bool
73+ ?version: String
7274 ) -> <%= return_type %>
7375 <%- end -%>
7476
@@ -78,15 +80,16 @@ module Prism
7880
7981 def self.parse_stream: (
8082 _Stream stream,
83+ ?command_line: String,
8184 ?encoding: Encoding | false,
8285 ?filepath: String,
8386 ?freeze: bool,
8487 ?frozen_string_literal: bool,
8588 ?line: Integer,
8689 ?main_script: bool,
87- ?offset: Integer ,
90+ ?partial_script: bool ,
8891 ?scopes: Array[Array[Symbol]],
89- ?verbose: bool
92+ ?version: String
9093 ) -> ParseResult
9194
9295 def self.scope: (?locals: Array[Symbol], ?forwarding: Array[Symbol]) -> Scope
You can’t perform that action at this time.
0 commit comments