mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
* dev: simplify if statement handling * dev: parse blocks in if/for/while more consistently * feat: improve context expression parsing * feat: improve context expression parsing * feat: improve parameter clause parsing
26 lines
250 B
XML
26 lines
250 B
XML
#if 1
|
|
#if [] 1
|
|
#if [] else [] 1
|
|
#if 1 [] else [] 1
|
|
#if {} [] else [] #1
|
|
#if [] [] else [] []
|
|
#if () [] else [] # a
|
|
|
|
#if () [] else []
|
|
1
|
|
|
|
#if () [] else []
|
|
[]
|
|
|
|
#if () [] else []
|
|
{
|
|
#if () [] else []
|
|
|
|
|
|
1
|
|
# if () [] else []
|
|
1
|
|
|
|
A#if false {} else thing
|
|
|
|
|