| 1 |
---input--- |
| 2 |
label 0 |
| 3 |
x = arg(0, name=x) :: float64 |
| 4 |
|
| 5 |
$const2.0 = const(int, 2) :: Literal[int](2) |
| 6 |
$6binary_multiply.2 = $const2.0 * x :: float64 |
| 7 |
del $const2.0 |
| 8 |
$10binary_multiply.4 = $6binary_multiply.2 * x :: float64 |
| 9 |
del x |
| 10 |
del $6binary_multiply.2 |
| 11 |
$12return_value.5 = cast(value=$10binary_multiply.4) :: float64 |
| 12 |
del $10binary_multiply.4 |
| 13 |
return $12return_value.5 |
| 14 |
|
| 15 |
---tokens--- |
| 16 |
'label' Name.Constant |
| 17 |
' ' Text.Whitespace |
| 18 |
'0' Literal.Number |
| 19 |
'\n ' Text.Whitespace |
| 20 |
'x' Name.Constant |
| 21 |
' ' Text.Whitespace |
| 22 |
'=' Operator |
| 23 |
' ' Text.Whitespace |
| 24 |
'arg' Name.Function |
| 25 |
'(' Punctuation |
| 26 |
'0' Literal.Number |
| 27 |
',' Punctuation |
| 28 |
' ' Text.Whitespace |
| 29 |
'name' Name.Attribute |
| 30 |
'=' Punctuation |
| 31 |
'x' Name.Constant |
| 32 |
')' Punctuation |
| 33 |
' ' Text.Whitespace |
| 34 |
':' Punctuation |
| 35 |
':' Punctuation |
| 36 |
' ' Text.Whitespace |
| 37 |
'float64' Name.Constant |
| 38 |
'\n\n ' Text.Whitespace |
| 39 |
'$const2.0' Name.Variable |
| 40 |
' ' Text.Whitespace |
| 41 |
'=' Operator |
| 42 |
' ' Text.Whitespace |
| 43 |
'const' Name.Function |
| 44 |
'(' Punctuation |
| 45 |
'int' Name.Constant |
| 46 |
',' Punctuation |
| 47 |
' ' Text.Whitespace |
| 48 |
'2' Literal.Number |
| 49 |
')' Punctuation |
| 50 |
' ' Text.Whitespace |
| 51 |
':' Punctuation |
| 52 |
':' Punctuation |
| 53 |
' ' Text.Whitespace |
| 54 |
'Literal' Name.Constant |
| 55 |
'[' Punctuation |
| 56 |
'int' Name.Constant |
| 57 |
']' Punctuation |
| 58 |
'(' Punctuation |
| 59 |
'2' Literal.Number |
| 60 |
')' Punctuation |
| 61 |
'\n ' Text.Whitespace |
| 62 |
'$6binary_multiply.2' Name.Variable |
| 63 |
' ' Text.Whitespace |
| 64 |
'=' Operator |
| 65 |
' ' Text.Whitespace |
| 66 |
'$const2.0' Name.Variable |
| 67 |
' ' Text.Whitespace |
| 68 |
'*' Punctuation |
| 69 |
' ' Text.Whitespace |
| 70 |
'x' Name.Constant |
| 71 |
' ' Text.Whitespace |
| 72 |
':' Punctuation |
| 73 |
':' Punctuation |
| 74 |
' ' Text.Whitespace |
| 75 |
'float64' Name.Constant |
| 76 |
'\n ' Text.Whitespace |
| 77 |
'del ' Keyword |
| 78 |
'$const2.0' Name.Variable |
| 79 |
'\n ' Text.Whitespace |
| 80 |
'$10binary_multiply.4' Name.Variable |
| 81 |
' ' Text.Whitespace |
| 82 |
'=' Operator |
| 83 |
' ' Text.Whitespace |
| 84 |
'$6binary_multiply.2' Name.Variable |
| 85 |
' ' Text.Whitespace |
| 86 |
'*' Punctuation |
| 87 |
' ' Text.Whitespace |
| 88 |
'x' Name.Constant |
| 89 |
' ' Text.Whitespace |
| 90 |
':' Punctuation |
| 91 |
':' Punctuation |
| 92 |
' ' Text.Whitespace |
| 93 |
'float64' Name.Constant |
| 94 |
'\n ' Text.Whitespace |
| 95 |
'del ' Keyword |
| 96 |
'x' Name.Constant |
| 97 |
'\n ' Text.Whitespace |
| 98 |
'del ' Keyword |
| 99 |
'$6binary_multiply.2' Name.Variable |
| 100 |
'\n ' Text.Whitespace |
| 101 |
'$12return_value.5' Name.Variable |
| 102 |
' ' Text.Whitespace |
| 103 |
'=' Operator |
| 104 |
' ' Text.Whitespace |
| 105 |
'cast' Name.Function |
| 106 |
'(' Punctuation |
| 107 |
'value' Name.Attribute |
| 108 |
'=' Punctuation |
| 109 |
'$10binary_multiply.4' Name.Variable |
| 110 |
')' Punctuation |
| 111 |
' ' Text.Whitespace |
| 112 |
':' Punctuation |
| 113 |
':' Punctuation |
| 114 |
' ' Text.Whitespace |
| 115 |
'float64' Name.Constant |
| 116 |
'\n ' Text.Whitespace |
| 117 |
'del ' Keyword |
| 118 |
'$10binary_multiply.4' Name.Variable |
| 119 |
'\n ' Text.Whitespace |
| 120 |
'return' Name.Constant |
| 121 |
' ' Text.Whitespace |
| 122 |
'$12return_value.5' Name.Variable |
| 123 |
'\n' Text.Whitespace |