(node *Node)
| 333 | } |
| 334 | |
| 335 | func IsSignedNumericLiteral(node *Node) bool { |
| 336 | if node.Kind == KindPrefixUnaryExpression { |
| 337 | node := node.AsPrefixUnaryExpression() |
| 338 | return (node.Operator == KindPlusToken || node.Operator == KindMinusToken) && IsNumericLiteral(node.Operand) |
| 339 | } |
| 340 | return false |
| 341 | } |
| 342 | |
| 343 | // Determines if a node is part of an OptionalChain |
| 344 | func IsOptionalChain(node *Node) bool { |
no test coverage detected