X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fcodegen%2Feffects%2FEffectConstructor.java;fp=bundles%2Forg.simantics.scl.compiler%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Finternal%2Fcodegen%2Feffects%2FEffectConstructor.java;h=d008e85839b48d712e97bcec0e6f5ba1cf269fb2;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/effects/EffectConstructor.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/effects/EffectConstructor.java new file mode 100644 index 000000000..d008e8583 --- /dev/null +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/internal/codegen/effects/EffectConstructor.java @@ -0,0 +1,24 @@ +package org.simantics.scl.compiler.internal.codegen.effects; + +import java.util.ArrayList; +import java.util.List; + +import org.simantics.scl.compiler.types.TCon; + +public class EffectConstructor { + public final TCon name; + ArrayList threadLocalVariables = + new ArrayList(); + + public EffectConstructor(TCon name) { + this.name = name; + } + + public List getThreadLocalVariables() { + return threadLocalVariables; + } + + public void addThreadLocalVariable(ThreadLocalVariable var) { + threadLocalVariables.add(var); + } +}