X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.expressions%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fexpressions%2FContextualValue.java;h=ac90fb554cbc5984a88bb437bac230c8ac9fbfdf;hb=db1eda83343fd8d26d6d6c340e70fc0e663d8808;hp=b339b459ca41dd4d61a2e567b4515cf4c6ddcc46;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.expressions/src/org/simantics/scl/expressions/ContextualValue.java b/bundles/org.simantics.scl.expressions/src/org/simantics/scl/expressions/ContextualValue.java index b339b459c..ac90fb554 100644 --- a/bundles/org.simantics.scl.expressions/src/org/simantics/scl/expressions/ContextualValue.java +++ b/bundles/org.simantics.scl.expressions/src/org/simantics/scl/expressions/ContextualValue.java @@ -1,25 +1,25 @@ -package org.simantics.scl.expressions; - -import org.simantics.scl.compiler.types.Type; - -/** - * A value that depends on some context. For example SCL expression - * can be compiled into contextual value where the actual value - * depends on the free variables of the expression. - * @author Hannu Niemistö - * @param - */ -public interface ContextualValue { - /** - * SCL type of the value. - * @return - */ - Type getType(); - - /** - * Evaluates the value in the given context. - * @param context - * @return - */ - Object getValue(Context context); -} +package org.simantics.scl.expressions; + +import org.simantics.scl.compiler.types.Type; + +/** + * A value that depends on some context. For example SCL expression + * can be compiled into contextual value where the actual value + * depends on the free variables of the expression. + * @author Hannu Niemistö + * @param + */ +public interface ContextualValue { + /** + * SCL type of the value. + * @return + */ + Type getType(); + + /** + * Evaluates the value in the given context. + * @param context + * @return + */ + Object getValue(Context context); +}