MCPcopy Index your code
hub / github.com/bazelbuild/bazel / execAssignment

Method execAssignment

src/main/java/net/starlark/java/eval/Eval.java:114–127  ·  view source on GitHub ↗
(StarlarkThread.Frame fr, AssignmentStatement node)

Source from the content-addressed store, hash-verified

112 }
113
114 private static void execAssignment(StarlarkThread.Frame fr, AssignmentStatement node)
115 throws EvalException, InterruptedException {
116 try {
117 if (node.isAugmented()) {
118 execAugmentedAssignment(fr, node);
119 } else {
120 Object rvalue = eval(fr, node.getRHS());
121 assign(fr, node.getLHS(), rvalue);
122 }
123 } catch (EvalException ex) {
124 fr.setErrorLocation(node.getOperatorLocation());
125 throw ex;
126 }
127 }
128
129 private static TokenKind execFor(StarlarkThread.Frame fr, ForStatement node)
130 throws EvalException, InterruptedException {

Callers 1

execMethod · 0.95

Calls 8

evalMethod · 0.95
assignMethod · 0.95
isAugmentedMethod · 0.80
getRHSMethod · 0.80
getLHSMethod · 0.80
setErrorLocationMethod · 0.80
getOperatorLocationMethod · 0.45

Tested by

no test coverage detected