sig/prism.rbs in prism-0.28.0 vs sig/prism.rbs in prism-0.30.0
- old
+ new
@@ -17,10 +17,21 @@
?frozen_string_literal: bool,
?verbose: bool,
?scopes: Array[Array[Symbol]]
) -> ParseResult
+ def self.profile: (
+ String source,
+ ?filepath: String,
+ ?line: Integer,
+ ?offset: Integer,
+ ?encoding: Encoding,
+ ?frozen_string_literal: bool,
+ ?verbose: bool,
+ ?scopes: Array[Array[Symbol]]
+ ) -> nil
+
def self.lex: (
String source,
?filepath: String,
?line: Integer,
?offset: Integer,
@@ -114,9 +125,19 @@
?encoding: Encoding,
?frozen_string_literal: bool,
?verbose: bool,
?scopes: Array[Array[Symbol]]
) -> ParseResult
+
+ def self.profile_file: (
+ String filepath,
+ ?line: Integer,
+ ?offset: Integer,
+ ?encoding: Encoding,
+ ?frozen_string_literal: bool,
+ ?verbose: bool,
+ ?scopes: Array[Array[Symbol]]
+ ) -> nil
def self.lex_file: (
String filepath,
?line: Integer,
?offset: Integer,