|
794 | 794 |
|
795 | 795 | --8<-- "examples/reference/lambda_expressions.md"
|
796 | 796 |
|
797 |
| -## Pipe expressions |
798 |
| -**Code Example** |
799 |
| -=== "Jac" |
800 |
| - ```jac linenums="1" |
801 |
| - --8<-- "examples/reference/pipe_expressions.jac" |
802 |
| - ``` |
803 |
| -=== "Python" |
804 |
| - ```python linenums="1" |
805 |
| - --8<-- "examples/reference/pipe_expressions.py" |
806 |
| - ``` |
807 |
| -??? example "Jac Grammar Snippet" |
808 |
| - ```yaml linenums="298" |
809 |
| - --8<-- "jaclang/compiler/jac.lark:298:298" |
810 |
| - ``` |
811 |
| -**Description** |
812 |
| - |
813 |
| ---8<-- "examples/reference/pipe_expressions.md" |
814 |
| - |
815 |
| -## Pipe back expressions |
816 |
| -**Code Example** |
817 |
| -=== "Jac" |
818 |
| - ```jac linenums="1" |
819 |
| - --8<-- "examples/reference/pipe_back_expressions.jac" |
820 |
| - ``` |
821 |
| -=== "Python" |
822 |
| - ```python linenums="1" |
823 |
| - --8<-- "examples/reference/pipe_back_expressions.py" |
824 |
| - ``` |
825 |
| -??? example "Jac Grammar Snippet" |
826 |
| - ```yaml linenums="301" |
827 |
| - --8<-- "jaclang/compiler/jac.lark:301:301" |
828 |
| - ``` |
829 |
| -**Description** |
830 |
| - |
831 |
| ---8<-- "examples/reference/pipe_back_expressions.md" |
832 |
| - |
833 | 797 | ## Elvis expressions
|
834 | 798 | **Code Example**
|
835 | 799 | === "Jac"
|
|
841 | 805 | --8<-- "examples/reference/elvis_expressions.py"
|
842 | 806 | ```
|
843 | 807 | ??? example "Jac Grammar Snippet"
|
844 |
| - ```yaml linenums="304" |
845 |
| - --8<-- "jaclang/compiler/jac.lark:304:304" |
| 808 | + ```yaml linenums="298" |
| 809 | + --8<-- "jaclang/compiler/jac.lark:298:298" |
846 | 810 | ```
|
847 | 811 | **Description**
|
848 | 812 |
|
|
859 | 823 | --8<-- "examples/reference/bitwise_expressions.py"
|
860 | 824 | ```
|
861 | 825 | ??? example "Jac Grammar Snippet"
|
862 |
| - ```yaml linenums="307" |
863 |
| - --8<-- "jaclang/compiler/jac.lark:307:310" |
| 826 | + ```yaml linenums="301" |
| 827 | + --8<-- "jaclang/compiler/jac.lark:301:304" |
864 | 828 | ```
|
865 | 829 | **Description**
|
866 | 830 |
|
|
877 | 841 | --8<-- "examples/reference/logical_and_compare_expressions.py"
|
878 | 842 | ```
|
879 | 843 | ??? example "Jac Grammar Snippet"
|
880 |
| - ```yaml linenums="313" |
881 |
| - --8<-- "jaclang/compiler/jac.lark:313:327" |
| 844 | + ```yaml linenums="307" |
| 845 | + --8<-- "jaclang/compiler/jac.lark:307:321" |
882 | 846 | ```
|
883 | 847 | **Description**
|
884 | 848 |
|
|
895 | 859 | --8<-- "examples/reference/arithmetic_expressions.py"
|
896 | 860 | ```
|
897 | 861 | ??? example "Jac Grammar Snippet"
|
898 |
| - ```yaml linenums="330" |
899 |
| - --8<-- "jaclang/compiler/jac.lark:330:333" |
| 862 | + ```yaml linenums="324" |
| 863 | + --8<-- "jaclang/compiler/jac.lark:324:327" |
900 | 864 | ```
|
901 | 865 | **Description**
|
902 | 866 |
|
|
913 | 877 | --8<-- "examples/reference/connect_expressions.py"
|
914 | 878 | ```
|
915 | 879 | ??? example "Jac Grammar Snippet"
|
916 |
| - ```yaml linenums="336" |
917 |
| - --8<-- "jaclang/compiler/jac.lark:336:336" |
| 880 | + ```yaml linenums="330" |
| 881 | + --8<-- "jaclang/compiler/jac.lark:330:330" |
918 | 882 | ```
|
919 | 883 | **Description**
|
920 | 884 |
|
|
931 | 895 | --8<-- "examples/reference/atomic_expressions.py"
|
932 | 896 | ```
|
933 | 897 | ??? example "Jac Grammar Snippet"
|
934 |
| - ```yaml linenums="339" |
935 |
| - --8<-- "jaclang/compiler/jac.lark:339:339" |
| 898 | + ```yaml linenums="333" |
| 899 | + --8<-- "jaclang/compiler/jac.lark:333:333" |
936 | 900 | ```
|
937 | 901 | **Description**
|
938 | 902 |
|
|
949 | 913 | --8<-- "examples/reference/atomic_pipe_back_expressions.py"
|
950 | 914 | ```
|
951 | 915 | ??? example "Jac Grammar Snippet"
|
952 |
| - ```yaml linenums="342" |
953 |
| - --8<-- "jaclang/compiler/jac.lark:342:342" |
| 916 | + ```yaml linenums="336" |
| 917 | + --8<-- "jaclang/compiler/jac.lark:336:336" |
954 | 918 | ```
|
955 | 919 | **Description**
|
956 | 920 |
|
|
967 | 931 | --8<-- "examples/reference/data_spatial_spawn_expressions.py"
|
968 | 932 | ```
|
969 | 933 | ??? example "Jac Grammar Snippet"
|
970 |
| - ```yaml linenums="345" |
971 |
| - --8<-- "jaclang/compiler/jac.lark:345:345" |
| 934 | + ```yaml linenums="339" |
| 935 | + --8<-- "jaclang/compiler/jac.lark:339:339" |
972 | 936 | ```
|
973 | 937 | **Description**
|
974 | 938 |
|
|
985 | 949 | --8<-- "examples/reference/unpack_expressions.py"
|
986 | 950 | ```
|
987 | 951 | ??? example "Jac Grammar Snippet"
|
988 |
| - ```yaml linenums="348" |
989 |
| - --8<-- "jaclang/compiler/jac.lark:348:348" |
| 952 | + ```yaml linenums="342" |
| 953 | + --8<-- "jaclang/compiler/jac.lark:342:342" |
990 | 954 | ```
|
991 | 955 | **Description**
|
992 | 956 |
|
|
1002 | 966 | ```python linenums="1"
|
1003 | 967 | --8<-- "examples/reference/references_(unused).py"
|
1004 | 968 | ```
|
| 969 | +??? example "Jac Grammar Snippet" |
| 970 | + ```yaml linenums="345" |
| 971 | + --8<-- "jaclang/compiler/jac.lark:345:345" |
| 972 | + ``` |
| 973 | +**Description** |
| 974 | + |
| 975 | +--8<-- "examples/reference/references_(unused).md" |
| 976 | + |
| 977 | +## Pipe expressions |
| 978 | +**Code Example** |
| 979 | +=== "Jac" |
| 980 | + ```jac linenums="1" |
| 981 | + --8<-- "examples/reference/pipe_expressions.jac" |
| 982 | + ``` |
| 983 | +=== "Python" |
| 984 | + ```python linenums="1" |
| 985 | + --8<-- "examples/reference/pipe_expressions.py" |
| 986 | + ``` |
| 987 | +??? example "Jac Grammar Snippet" |
| 988 | + ```yaml linenums="348" |
| 989 | + --8<-- "jaclang/compiler/jac.lark:348:348" |
| 990 | + ``` |
| 991 | +**Description** |
| 992 | + |
| 993 | +--8<-- "examples/reference/pipe_expressions.md" |
| 994 | + |
| 995 | +## Pipe back expressions |
| 996 | +**Code Example** |
| 997 | +=== "Jac" |
| 998 | + ```jac linenums="1" |
| 999 | + --8<-- "examples/reference/pipe_back_expressions.jac" |
| 1000 | + ``` |
| 1001 | +=== "Python" |
| 1002 | + ```python linenums="1" |
| 1003 | + --8<-- "examples/reference/pipe_back_expressions.py" |
| 1004 | + ``` |
1005 | 1005 | ??? example "Jac Grammar Snippet"
|
1006 | 1006 | ```yaml linenums="351"
|
1007 | 1007 | --8<-- "jaclang/compiler/jac.lark:351:351"
|
1008 | 1008 | ```
|
1009 | 1009 | **Description**
|
1010 | 1010 |
|
1011 |
| ---8<-- "examples/reference/references_(unused).md" |
| 1011 | +--8<-- "examples/reference/pipe_back_expressions.md" |
1012 | 1012 |
|
1013 | 1013 | ## Data spatial calls
|
1014 | 1014 | **Code Example**
|
|
0 commit comments