MCPcopy Index your code
hub / github.com/microsoft/pyright / getAssignmentError

Method getAssignmentError

server/src/parser/parseNodes.ts:590–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

588 expressions: ExpressionNode[] = [];
589
590 getAssignmentError(): string | undefined {
591 for (let expr of this.expressions) {
592 let msg = expr.getAssignmentError();
593 if (msg) {
594 return msg;
595 }
596 }
597 return undefined;
598 }
599
600 getChildren(): RecursiveParseNodeArray {
601 return this.expressions;

Callers

nothing calls this directly

Calls 1

getAssignmentErrorMethod · 0.45

Tested by

no test coverage detected