AsLiteral adapts the expr into a constant ref.Val. The Kind() must be equal to a LiteralKind for the conversion to be well-defined.
()
| 80 | // |
| 81 | // The Kind() must be equal to a LiteralKind for the conversion to be well-defined. |
| 82 | AsLiteral() ref.Val |
| 83 | |
| 84 | // AsList adapts the expr into a ListExpr. |
| 85 | // |
no outgoing calls