Implemented Operator To Function intention action.
Converts +a, --a, a * b, a..b, a %= b, a in b, etc. to their function call counterparts.
This commit is contained in:
committed by
Alexey Sedunov
parent
5550924dc5
commit
b3842285e8
@@ -0,0 +1,11 @@
|
||||
a.not()
|
||||
|
||||
b.dec()
|
||||
|
||||
a.times(b)
|
||||
|
||||
a.get(i_1, ..., i_n)
|
||||
|
||||
a.set(i_1, ..., i_n, b)
|
||||
|
||||
a.invoke(i_1, ..., i_n)
|
||||
@@ -0,0 +1,11 @@
|
||||
!a
|
||||
|
||||
--b
|
||||
|
||||
a * b
|
||||
|
||||
a[i_1, ..., i_n]
|
||||
|
||||
a[i_1, ..., i_n] = b
|
||||
|
||||
a(i_1, ..., i_n)
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Replace overloaded operator with function call
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user