SCALA_BUILTIN_TYPES (languages/scala.ts:14-17) — the hook's OWN smaller set.
(name: &str)
| 85 | |
| 86 | /// SCALA_BUILTIN_TYPES (languages/scala.ts:14-17) — the hook's OWN smaller set. |
| 87 | fn is_scala_builtin(name: &str) -> bool { |
| 88 | matches!( |
| 89 | name, |
| 90 | "Int" | "Long" | "Short" | "Byte" | "Float" | "Double" | "Boolean" | "Char" | "Unit" |
| 91 | | "String" | "Any" | "AnyRef" | "AnyVal" | "Nothing" | "Null" |
| 92 | ) |
| 93 | } |
| 94 | |
| 95 | /// extractScalaReturnType's simple-name gate (`/^[A-Za-z_]\w*$/`). |
| 96 | fn simple_type_name_re() -> &'static Regex { |
no outgoing calls
no test coverage detected