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

Function IsCompoundAssignment

internal/ast/utilities.go:112–114  ·  view source on GitHub ↗
(token Kind)

Source from the content-addressed store, hash-verified

110}
111
112func IsCompoundAssignment(token Kind) bool {
113 return token >= KindFirstCompoundAssignment && token <= KindLastCompoundAssignment
114}
115
116func IsAssignmentExpression(node *Node, excludeCompoundAssignment bool) bool {
117 if node.Kind == KindBinaryExpression {

Calls

no outgoing calls

Tested by

no test coverage detected