We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1e544 commit 47494f7Copy full SHA for 47494f7
JuliaSyntax/src/parser.jl
@@ -274,14 +274,6 @@ function is_block_form(k)
274
abstract primitive struct try module"
275
end
276
277
-function is_syntactic_operator(k)
278
- k = kind(k)
279
- # TODO: Do we need to disallow dotted and suffixed forms here?
280
- # The lexer itself usually disallows such tokens, so it's not clear whether
281
- # we need to handle them. (Though note `.->` is a token...)
282
- return k in KSet"&& || . ... ->" || is_syntactic_assignment(k)
283
-end
284
-
285
function is_syntactic_unary_op(k)
286
kind(k) in KSet"$ & ::"
287
0 commit comments