1 package org.simantics.scl.compiler.elaboration.expressions.records;
3 import org.simantics.scl.compiler.elaboration.contexts.ReplaceContext;
4 import org.simantics.scl.compiler.elaboration.expressions.Expression;
5 import org.simantics.scl.compiler.internal.parsing.Symbol;
7 public class FieldAssignment extends Symbol {
9 public Expression value; // null if shorthand
11 public FieldAssignment(String name, Expression value) {
16 public FieldAssignment replace(ReplaceContext context) {
17 return new FieldAssignment(name, value == null ? null : value.replace(context));