2021-09-01 14:59:04 +00:00
|
|
|
=====================================
|
|
|
|
operator with arity (valid and supported by IEx.Helpers.h)
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
::/2
|
|
|
|
@ / 1
|
|
|
|
& / 1
|
2021-09-25 00:23:37 +00:00
|
|
|
not / 1
|
|
|
|
not in / 2
|
|
|
|
* / 2
|
|
|
|
h +/2
|
2021-09-01 14:59:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
2021-09-25 00:23:37 +00:00
|
|
|
(integer))
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(call
|
|
|
|
(identifier)
|
|
|
|
(arguments
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer)))))
|
|
|
|
|
|
|
|
=====================================
|
|
|
|
stab and slash ambiguity
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
(-> / 2)
|
|
|
|
(-> / / 2)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source
|
|
|
|
(block
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer)))
|
|
|
|
(block
|
|
|
|
(stab_clause
|
|
|
|
(body
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))))))
|
|
|
|
|
|
|
|
=====================================
|
|
|
|
unary operator and slash ambiguity
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
& / 2
|
|
|
|
& / / 2
|
|
|
|
---
|
|
|
|
|
|
|
|
(source
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))
|
|
|
|
(unary_operator
|
|
|
|
(binary_operator
|
|
|
|
(operator_identifier)
|
|
|
|
(integer))))
|
2021-09-01 14:59:04 +00:00
|
|
|
|
|
|
|
=====================================
|
|
|
|
map with identifiers
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
%{a}
|
|
|
|
%{a, b}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source
|
|
|
|
(map
|
|
|
|
(map_content
|
|
|
|
(identifier)))
|
|
|
|
(map
|
|
|
|
(map_content
|
|
|
|
(identifier)
|
|
|
|
(identifier))))
|
|
|
|
|
|
|
|
=====================================
|
|
|
|
def with remote call
|
|
|
|
=====================================
|
|
|
|
|
|
|
|
def Mod.fun(x), do: 1
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
(source
|
|
|
|
(call
|
|
|
|
(identifier)
|
|
|
|
(arguments
|
|
|
|
(call
|
|
|
|
(dot
|
|
|
|
(alias)
|
|
|
|
(identifier))
|
|
|
|
(arguments
|
|
|
|
(identifier)))
|
|
|
|
(keywords
|
|
|
|
(pair
|
2021-09-28 14:00:35 +00:00
|
|
|
(keyword)
|
2021-09-01 14:59:04 +00:00
|
|
|
(integer))))))
|