* Returns an `AstValue` that wraps the value of the property called `propertyName`. * * Throws an error if there is no such property.
(propertyName: K)
| 166 | * Throws an error if there is no such property. |
| 167 | */ |
| 168 | getValue<K extends PropertyKey<T>>(propertyName: K): AstValue<T[K], TExpression> { |
| 169 | return new AstValue<T[K], TExpression>(this.getRequiredProperty(propertyName), this.host); |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Converts the AstObject to a raw JavaScript object, mapping each property value (as an |
no test coverage detected