]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/modules/MethodImplementation.java
(refs #7250) CHR rules modularization (first working version)
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / modules / MethodImplementation.java
1 package org.simantics.scl.compiler.elaboration.modules;
2
3 import org.simantics.scl.compiler.common.names.Name;
4
5 public class MethodImplementation {
6     
7     public final Name name;
8     public final boolean isDefault;
9     private SCLValue value;
10     
11     public MethodImplementation(Name name, boolean isDefault) {
12         this.name = name;
13         this.isDefault = isDefault;
14     }
15
16     public SCLValue getValue() {
17         return value;
18     }
19     
20     public void setValue(SCLValue value) {
21         this.value = value;
22     }
23     
24 }