MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsLeftHandSideExpression

Function IsLeftHandSideExpression

internal/ast/utilities.go:411–413  ·  view source on GitHub ↗

Determines whether a node is a LeftHandSideExpression based only on its kind.

(node *Node)

Source from the content-addressed store, hash-verified

409
410// Determines whether a node is a LeftHandSideExpression based only on its kind.
411func IsLeftHandSideExpression(node *Node) bool {
412 return isLeftHandSideExpressionKind(SkipPartiallyEmittedExpressions(node).Kind)
413}
414
415func isUnaryExpressionKind(kind Kind) bool {
416 switch kind {

Tested by

no test coverage detected