Adds support for CONTAINS_OP opcode

Mentioned in:
- #190
- #191
- #195
This commit is contained in:
John Richards
2021-10-10 00:40:39 -04:00
parent 81f3e5f84b
commit 25f44aa079
4 changed files with 27 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,8 @@
a = 10
b = [10, 20, 30]
if a in b:
pass
if a not in b:
pass

View File

@@ -0,0 +1,9 @@
a = 10 <EOL>
b = [ 10 , 20 , 30 ] <EOL>
if a in b : <EOL>
<INDENT>
pass <EOL>
<OUTDENT>
if a not in b : <EOL>
<INDENT>
pass <EOL>